enable_raw_mode! : () => {}
Enable terminal raw mode to disable some default terminal behaviour.
This leads to the following changes:
- Input will not be echoed to the terminal screen.
- Input will be sent straight to the program instead of being buffered (= collected) until the Enter key is pressed.
- Special keys like Backspace and CTRL+C will not be processed by the terminal driver but will be passed to the program.