From 2c162032c4857093208a7dd0fc7eab1fa2ca3a34 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Mon, 28 Jul 2014 22:29:05 -0400 Subject: [PATCH] Improve use_scroll_status_wclear comment --- src/display.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/display.c b/src/display.c index f813f08..5b47127 100644 --- a/src/display.c +++ b/src/display.c @@ -451,10 +451,11 @@ init_display(void) term = getenv("XTERM_VERSION") ? NULL : getenv("COLORTERM"); if (term && !strcmp(term, "gnome-terminal")) { - /* In the gnome-terminal-emulator, the message from - * scrolling up one line when impossible followed by - * scrolling down one line causes corruption of the - * status line. This is fixed by calling wclear. */ + /* In the gnome-terminal-emulator, the warning message + * shown when scrolling up one line while the cursor is + * on the first line followed by scrolling down one line + * corrupts the status line. This is fixed by calling + * wclear. */ use_scroll_status_wclear = TRUE; use_scroll_redrawwin = FALSE; -- 2.11.4.GIT