Browse Source

Fix screen not cleared with drag down on narrow terms

master
Arun Prakash Jana 5 years ago
parent
commit
6d13fce698
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/nnn.c

+ 2
- 0
src/nnn.c View File

@@ -5016,6 +5016,8 @@ static void redraw(char *path)


/* Fail redraw if < than 10 columns, context info prints 10 chars */ /* Fail redraw if < than 10 columns, context info prints 10 chars */
if (ncols < MIN_DISPLAY_COLS) { if (ncols < MIN_DISPLAY_COLS) {
/* Clear from last entry to end */
clrtobot();
printmsg(messages[MSG_FEW_COLUMNS]); printmsg(messages[MSG_FEW_COLUMNS]);
return; return;
} }


||||||
x
 
000:0
Loading…
Cancel
Save