commit b58e9fc384c5ffb0506579fa33e86d756d1beac8
parent 0d21813b1180f0ac3c59e777d00287875b0716f4
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Thu, 6 May 2021 22:33:55 +0530
Fix min columns
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/nnn.c b/src/nnn.c
@@ -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;
}