diff options
author | Timo Sirainen <cras@irssi.org> | 2001-11-15 00:52:35 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-11-15 00:52:35 +0000 |
commit | 4d771c54d9e1396792248f611453cbfccfad9570 (patch) | |
tree | e1dfd682ead85510a27fef2ffad77ba1ef61cbb8 /src/fe-text/term.c | |
parent | 0dafb7349ae7fb31215fde6016b6d63008ba5b2c (diff) | |
download | irssi-4d771c54d9e1396792248f611453cbfccfad9570.zip |
/SET force_colors -> /SET term_force_colors. Added /SET term_scroll_fast
option to specify if we want to scroll with fastest method, or the cleanest
method. The default is cleanest and it looks best with xterm, with some
other terminals where line-by-line scroll is slow, you might want to use the
fast scrolling.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2015 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/term.c')
-rw-r--r-- | src/fe-text/term.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fe-text/term.c b/src/fe-text/term.c index 2889f8eb..f2847661 100644 --- a/src/fe-text/term.c +++ b/src/fe-text/term.c @@ -92,7 +92,8 @@ static void read_settings(void) { int old_colors = term_use_colors; - if (settings_get_bool("force_colors")) { + term_setup_scroll(settings_get_bool("term_scroll_fast")); + if (settings_get_bool("term_force_colors")) { if (!term_use_colors) { term_force_colors(TRUE); term_use_colors = TRUE; @@ -115,7 +116,8 @@ void term_common_init(void) struct sigaction act; #endif settings_add_bool("lookandfeel", "colors", TRUE); - settings_add_bool("lookandfeel", "force_colors", FALSE); + settings_add_bool("lookandfeel", "term_force_colors", FALSE); + settings_add_bool("lookandfeel", "term_scroll_fast", FALSE); term_use_colors = term_has_colors() && settings_get_bool("colors"); read_settings(); |