1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-30 06:45:25 +00:00

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
This commit is contained in:
Timo Sirainen 2001-11-12 09:32:11 +00:00 committed by cras
parent e16b2fa495
commit 5014a941cb

View File

@ -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 {