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-terminfo.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-terminfo.c')
-rw-r--r-- | src/fe-text/term-terminfo.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/fe-text/term-terminfo.c b/src/fe-text/term-terminfo.c index e110085f..a0fb1422 100644 --- a/src/fe-text/term-terminfo.c +++ b/src/fe-text/term-terminfo.c @@ -170,6 +170,13 @@ void term_force_colors(int set) terminfo_setup_colors(current_term, set); } +/* Setup scrolling - if fast is TRUE, we'll use the fastest method to + scroll, if it's FALSE, we'll use the one that looks cleanest. */ +void term_setup_scroll(int fast) +{ + terminfo_setup_scroll(current_term, fast); +} + /* Clear screen */ void term_clear(void) { |