Expand description
Terminal session sequences: alternate screen and cursor state, one enter, one leave, nothing between.
Functions§
- copy_
to_ clipboard - Put
texton the system clipboard;multiplexedroutes 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_inputundoes this along with the rest. - terminal_
query - Ask the terminal to answer under
idonce it has consumed everything written before this.