mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Fix screen not cleared with drag down on narrow terms
This commit is contained in:
parent
0c966b2178
commit
6d13fce698
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue