mirror of
https://github.com/jarun/nnn.git
synced 2025-03-12 17:54:04 +00:00
Fix min columns
This commit is contained in:
parent
0d21813b11
commit
b58e9fc384
1 changed files with 1 additions and 1 deletions
|
@ -5758,7 +5758,7 @@ static void redraw(char *path)
|
|||
move_cursor(cur, 1);
|
||||
|
||||
/* 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]);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue