Skip to main content

Module terminal

Module terminal 

Source
Expand description

Terminal setup and restoration utilities.

Functionsยง

restore_terminal
What: Restore terminal to normal mode, leave the alternate screen, and disable mouse capture.
setup_terminal
What: Enter raw mode and switch to the alternate screen with mouse capture enabled.