mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Fix min columns
This commit is contained in:
parent
0d21813b11
commit
b58e9fc384
|
@ -5758,7 +5758,7 @@ static void redraw(char *path)
|
||||||
move_cursor(cur, 1);
|
move_cursor(cur, 1);
|
||||||
|
|
||||||
/* 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) {
|
||||||
printmsg(messages[MSG_FEW_COLUMNS]);
|
printmsg(messages[MSG_FEW_COLUMNS]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue