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

Function disableRawModeAtExit

smallchat-client.c:102–104  ·  view source on GitHub ↗

At exit we'll try to fix the terminal to the initial conditions. */

Source from the content-addressed store, hash-verified

100
101/* At exit we'll try to fix the terminal to the initial conditions. */
102void disableRawModeAtExit(void) {
103 setRawMode(STDIN_FILENO,0);
104}
105
106/* ============================================================================
107 * Mininal line editing.

Callers

nothing calls this directly

Calls 1

setRawModeFunction · 0.85

Tested by

no test coverage detected