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