Commit 89d15399 authored by Hisham's avatar Hisham
Browse files

Merge branch 'master' into fixedgray

parents 2d8dd0b2 e03e45d8
...@@ -579,7 +579,7 @@ void CRT_init(int delay, int colorScheme) { ...@@ -579,7 +579,7 @@ void CRT_init(int delay, int colorScheme) {
CRT_scrollHAmount = 20; CRT_scrollHAmount = 20;
else else
CRT_scrollHAmount = 5; 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[H", KEY_HOME);
define_key("\033[F", KEY_END); define_key("\033[F", KEY_END);
define_key("\033[7~", KEY_HOME); define_key("\033[7~", KEY_HOME);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment