diff options
author | Michael Klein <michael.klein@puffin.lb.shuttle.de> | 2017-05-11 16:55:24 +0200 |
---|---|---|
committer | Michael Klein <michael.klein@puffin.lb.shuttle.de> | 2017-06-01 12:52:14 +0200 |
commit | 45f37698874d89ffb56b4cc8f0f329c702f8a68f (patch) | |
tree | cf70de9a83ec8a2ef19d5b4c092cf768ff57297c /CRT.c | |
parent | b1028e03c513bc9182b7cc926170ce17a2bd0ac6 (diff) |
make special keys also work with TERM=xterm-256color
Diffstat (limited to 'CRT.c')
-rw-r--r-- | CRT.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -575,7 +575,7 @@ void CRT_init(int delay, int colorScheme) { CRT_scrollHAmount = 20; else CRT_scrollHAmount = 5; - if (String_eq(CRT_termType, "xterm") || String_eq(CRT_termType, "xterm-color") || String_eq(CRT_termType, "vt220")) { + if (String_startsWith(CRT_termType, "xterm") || String_eq(CRT_termType, "vt220")) { define_key("\033[H", KEY_HOME); define_key("\033[F", KEY_END); define_key("\033[7~", KEY_HOME); |