Further simplification of key handling

Changed so that the "ctrl-t ctrl-t" sequence is now simply "ctrl-t t" to
send the ctrl-t key code. This is inspired by screen which does similar
to send its command key code (ctrl-a a).

This change also allows to easier add new key commands if needed.

Updated man page accordingly.
This commit is contained in:
Martin Lund 2016-05-17 11:53:57 +02:00
parent 9571a84d70
commit 0687d7ff7b
4 changed files with 49 additions and 17 deletions

View file

@ -58,8 +58,13 @@ Display program version.
Display help.
.SH "KEYS"
.TP
In session, press ctrl-t + q to quit.
.PP
.TP 16n
In session, the following key sequences are intercepted as tio commands:
.IP "\fBctrl-t q"
Quit
.IP "\fBctrl-t t"
Send ctrl-t key code
.SH "EXAMPLES"
.TP