summaryrefslogtreecommitdiff
path: root/src/fe-text/gui-textwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-text/gui-textwidget.c')
-rw-r--r--src/fe-text/gui-textwidget.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fe-text/gui-textwidget.c b/src/fe-text/gui-textwidget.c
index ef807a2f..ac8470d4 100644
--- a/src/fe-text/gui-textwidget.c
+++ b/src/fe-text/gui-textwidget.c
@@ -406,6 +406,8 @@ static void cmd_scrollback_end(const char *data)
GUI_WINDOW_REC *gui;
gui = WINDOW_GUI(active_win);
+ if (gui->bottom)
+ return;
gui->startline = gui->bottom_startline;
gui->subline = gui->bottom_subline;