commit 6d13fce69851d8880f408a22f6e9bee8ff708d11
parent 0c966b21787186d2920934111d93ee1d1babf1c1
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Sun, 5 Apr 2020 06:37:26 +0530
Fix screen not cleared with drag down on narrow terms
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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;
}