1
0
mirror of https://github.com/irssi/irssi.git synced 2024-07-07 02:54:19 -04:00

resizing terminal with /CLEARed empty windows scrolled those windows so that

the last screenful of text was visible again.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1474 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-05-11 13:08:47 +00:00 committed by cras
parent 1cc3891821
commit 912cf63c07

View File

@ -36,7 +36,7 @@ static int linecache_tag;
static GSList *views;
#define view_is_bottom(view) \
((view)->ypos >= 0 && (view)->ypos < (view)->height)
((view)->ypos >= -1 && (view)->ypos < (view)->height)
#define view_get_linecount(view, line) \
textbuffer_view_get_line_cache(view, line)->count