MCPcopy Create free account
hub / github.com/antirez/smallchat / inputBufferHide

Function inputBufferHide

smallchat-client.c:167–171  ·  view source on GitHub ↗

Hide the line the user is typing. */

Source from the content-addressed store, hash-verified

165
166/* Hide the line the user is typing. */
167void inputBufferHide(struct InputBuffer *ib) {
168 (void)ib; // Not used var, but is conceptually part of the API.
169 terminalCleanCurrentLine();
170 terminalCursorAtLineStart();
171}
172
173/* Show again the current line. Usually called after InputBufferHide(). */
174void inputBufferShow(struct InputBuffer *ib) {

Callers 3

inputBufferFeedCharFunction · 0.85
inputBufferClearFunction · 0.85
mainFunction · 0.85

Calls 2

terminalCleanCurrentLineFunction · 0.85

Tested by

no test coverage detected