From 4d771c54d9e1396792248f611453cbfccfad9570 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 15 Nov 2001 00:52:35 +0000 Subject: /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 --- src/fe-text/term.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/fe-text/term.c') 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(); -- cgit v1.2.3