summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fe-text/textbuffer-commands.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fe-text/textbuffer-commands.c b/src/fe-text/textbuffer-commands.c
index 61350a3e..92eaaec7 100644
--- a/src/fe-text/textbuffer-commands.c
+++ b/src/fe-text/textbuffer-commands.c
@@ -232,7 +232,9 @@ static void cmd_scrollback_end(const char *data)
TEXT_BUFFER_VIEW_REC *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;
textbuffer_view_scroll_line(view, view->bottom_startline);