forked from PsychoticNinja/irssi
/SB END: if we're already at the end of buffer don't redraw it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3014 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
e4accf9c80
commit
cb21fabb59
@ -232,7 +232,9 @@ static void cmd_scrollback_end(const char *data)
|
|||||||
TEXT_BUFFER_VIEW_REC *view;
|
TEXT_BUFFER_VIEW_REC *view;
|
||||||
|
|
||||||
view = WINDOW_GUI(active_win)->view;
|
view = WINDOW_GUI(active_win)->view;
|
||||||
if (view->bottom_startline == NULL)
|
if (view->bottom_startline == NULL ||
|
||||||
|
(view->bottom_startline == view->startline &&
|
||||||
|
view->bottom_subline == view->subline))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
textbuffer_view_scroll_line(view, view->bottom_startline);
|
textbuffer_view_scroll_line(view, view->bottom_startline);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user