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

Function cmd_reset

cmdbuf.c:112–122  ·  view source on GitHub ↗

* Reset command buffer (to empty). */

Source from the content-addressed store, hash-verified

110 * Reset command buffer (to empty).
111 */
112 public void
113cmd_reset(VOID_PARAM)
114{
115 cp = cmdbuf;
116 *cp = '\0';
117 cmd_col = 0;
118 cmd_offset = 0;
119 literal = 0;
120 cmd_mbc_buf_len = 0;
121 updown_match = -1;
122}
123
124/*
125 * Clear command line.

Callers 3

mca_opt_nonfirst_charFunction · 0.85
mca_opt_charFunction · 0.85
commandsFunction · 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…