From 6d13fce69851d8880f408a22f6e9bee8ff708d11 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sun, 5 Apr 2020 06:37:26 +0530 Subject: Fix screen not cleared with drag down on narrow terms --- src/nnn.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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; } -- cgit v1.2.3-70-g09d2