From 5014a941cb9577df7047deca48e93e391d87abf6 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 12 Nov 2001 09:32:11 +0000 Subject: [PATCH] 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 --- src/fe-text/terminfo-core.c | 4 ++-- 1 file 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 {