]> Sergey Matveev's repositories - nnn.git/commitdiff
Fix min columns
authorArun Prakash Jana <engineerarun@gmail.com>
Thu, 6 May 2021 17:03:55 +0000 (22:33 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Thu, 6 May 2021 17:20:10 +0000 (22:50 +0530)
src/nnn.c

index 3da955d51e6e33c386010f59e07f37d22bb98dbb..6403ea8ae5591909e97385506b5a2552c650a8fe 100644 (file)
--- 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;
        }