diff options
author | Timo Sirainen <cras@irssi.org> | 2001-11-12 09:32:11 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-11-12 09:32:11 +0000 |
commit | 5014a941cb9577df7047deca48e93e391d87abf6 (patch) | |
tree | 483e546e5664ff78f1d4d505a89bc253895ac3dc /src/fe-text | |
parent | e16b2fa4959f4ff0c125c2a4bf9c154e93920e13 (diff) | |
download | irssi-5014a941cb9577df7047deca48e93e391d87abf6.zip |
Prefer scrolling with n lines insert/remove to 1 line at a time scrolling
region.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1991 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text')
-rw-r--r-- | src/fe-text/terminfo-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-text/terminfo-core.c b/src/fe-text/terminfo-core.c index 0d1a8801..e6ff8ac4 100644 --- a/src/fe-text/terminfo-core.c +++ b/src/fe-text/terminfo-core.c @@ -545,10 +545,10 @@ static int term_setup(TERM_REC *term) /* Scrolling */ if ((term->TI_csr || term->TI_wind) && term->TI_rin && term->TI_indn) term->scroll = _scroll_region; - else if ((term->TI_csr || term->TI_wind) && term->TI_ri && term->TI_ind) - term->scroll = _scroll_region_1; else if (term->TI_il && term->TI_dl) term->scroll = _scroll_line; + else if ((term->TI_csr || term->TI_wind) && term->TI_ri && term->TI_ind) + term->scroll = _scroll_region_1; else if (term->TI_il1 && term->TI_dl1) term->scroll = _scroll_line_1; else { |