Skip to main content

Module session

Module session 

Source
Expand description

Terminal session sequences: alternate screen and cursor state, one enter, one leave, nothing between.

Functions§

copy_to_clipboard
Put text on the system clipboard; multiplexed routes it through a tmux or rmux pane.
disable_input
Undo enable_input.
enable_input
Turn on what an interactive application reads: all mouse motion in SGR form with pixel coordinates, focus changes, bracketed paste and unambiguous keys, then ask whether pixel coordinates took effect.
enter
Enter the alternate screen with the cursor hidden; everything drawn afterwards leaves the user’s scrollback untouched.
leave
Leave the alternate screen with the cursor back.
report_key_releases
Also report key repeats and releases, with every key as an escape code so that plain letters report theirs too. disable_input undoes this along with the rest.
terminal_query
Ask the terminal to answer under id once it has consumed everything written before this.