summaryrefslogtreecommitdiff
path: root/src/gui/curses/gui-curses-chat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/curses/gui-curses-chat.c')
-rw-r--r--src/gui/curses/gui-curses-chat.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/curses/gui-curses-chat.c b/src/gui/curses/gui-curses-chat.c
index 5ad362bbc..e8e0a9105 100644
--- a/src/gui/curses/gui-curses-chat.c
+++ b/src/gui/curses/gui-curses-chat.c
@@ -1806,6 +1806,13 @@ gui_chat_calculate_line_diff (struct t_gui_window *window,
*line_pos = 0;
}
}
+
+ /* special case for bare display */
+ if (gui_window_bare_display && backward && (*line_pos > 0))
+ {
+ *line = gui_line_get_next_displayed (*line);
+ *line_pos = 0;
+ }
}
/*