aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-04-05 06:37:26 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-04-05 06:37:26 +0530
commit6d13fce69851d8880f408a22f6e9bee8ff708d11 (patch)
tree9354af30da7e338b8f0b82f540e74becf9866ef2 /src
parent0c966b21787186d2920934111d93ee1d1babf1c1 (diff)
downloadnnn-6d13fce69851d8880f408a22f6e9bee8ff708d11.tar.gz
Fix screen not cleared with drag down on narrow terms
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nnn.c b/src/nnn.c
index e2aa7ff..20f42b6 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -5016,6 +5016,8 @@ static void redraw(char *path)
/* Fail redraw if < than 10 columns, context info prints 10 chars */
if (ncols < MIN_DISPLAY_COLS) {
+ /* Clear from last entry to end */
+ clrtobot();
printmsg(messages[MSG_FEW_COLUMNS]);
return;
}