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

Function terminalCleanCurrentLine

smallchat-client.c:110–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108 * ========================================================================== */
109
110void terminalCleanCurrentLine(void) {
111 write(fileno(stdout),"\e[2K",4);
112}
113
114void terminalCursorAtLineStart(void) {
115 write(fileno(stdout),"\r",1);

Callers 1

inputBufferHideFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected