MCPcopy Create free account
hub / github.com/DFHack/dfhack / disable_raw

Method disable_raw

library/Console-posix.cpp:472–477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

470 }
471
472 void disable_raw()
473 {
474 /* Don't even check the return value as it's too late. */
475 if (rawmode && tcsetattr(STDIN_FILENO, TCSADRAIN, &orig_termios) != -1)
476 rawmode = 0;
477 }
478 void prompt_refresh()
479 {
480 char seq[64];

Callers 1

lineeditMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected