tsm: vte: send original VT220 escape codes for Shift+F1 to F12
authorDavid Herrmann <dh.herrmann@googlemail.com>
Wed, 19 Sep 2012 18:27:48 +0000 (20:27 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Wed, 19 Sep 2012 18:27:48 +0000 (20:27 +0200)
commite1f04b12abc433ec28c263d041687148562f3f5e
tree9d53630055378f9db94a15fb62bd1dcd02bc600a
parent38759fed14a32abb73b14aa09d80597da9d8825e
tsm: vte: send original VT220 escape codes for Shift+F1 to F12

Nearly all terminals behave differently regarding Shift+FX keys. We now
mimic the behavior of the classic VT220 instead of the new-style function
keys. Nearly all applications expect the old codes.

This might be changed in the future, though. It does make much more sense
to send the new codes as they provide more information to the application.
And remappings should be done via XKB instead of inside of kmscon.
However, as long as xkbcommon does not have a config-file, we will be
stuck with this little hack.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/tsm_vte.c