diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2014-02-27 16:35:22 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2014-02-27 16:35:22 -0300 |
commit | 6d90e58c01c606841753fb23b4effe3d815223cd (patch) | |
tree | 99153968af5251fdfbf534e1fc5b8e606f652c67 /CRT.c | |
parent | 953ec71235f51934014f025ea113e788238e2e24 (diff) |
alignment improvements
Diffstat (limited to 'CRT.c')
-rw-r--r-- | CRT.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -123,6 +123,8 @@ int CRT_colors[LAST_COLORELEMENT] = { 0 }; int CRT_cursorX = 0; +int CRT_scrollHAmount = 5; + char* CRT_termType; void *backtraceArray[128]; @@ -173,6 +175,10 @@ void CRT_init(int delay, int colorScheme) { CRT_hasColors = false; } CRT_termType = getenv("TERM"); + if (String_eq(CRT_termType, "linux")) + CRT_scrollHAmount = 20; + else + CRT_scrollHAmount = 5; if (String_eq(CRT_termType, "xterm") || String_eq(CRT_termType, "xterm-color") || String_eq(CRT_termType, "vt220")) { define_key("\033[H", KEY_HOME); define_key("\033[F", KEY_END); |