MCPcopy Create free account
hub / github.com/gwsw/less / clear_cmd

Function clear_cmd

cmdbuf.c:127–133  ·  view source on GitHub ↗

* Clear command line. */

Source from the content-addressed store, hash-verified

125 * Clear command line.
126 */
127 public void
128clear_cmd(VOID_PARAM)
129{
130 cmd_col = prompt_col = 0;
131 cmd_mbc_buf_len = 0;
132 updown_match = -1;
133}
134
135/*
136 * Display a string, usually as a prompt for input into the command buffer.

Callers 2

set_mcaFunction · 0.85
promptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…