diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2017-06-06 15:23:58 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-06 15:23:58 -0300 |
commit | e03e45d8194598608d29cd59a3298ead29c8628b (patch) | |
tree | cf70de9a83ec8a2ef19d5b4c092cf768ff57297c | |
parent | b1028e03c513bc9182b7cc926170ce17a2bd0ac6 (diff) | |
parent | 45f37698874d89ffb56b4cc8f0f329c702f8a68f (diff) |
Merge pull request #624 from mklein-de/xterm-256color
make special keys also work with TERM=xterm-256color
-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); |