diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2019-02-25 00:33:09 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2019-02-25 00:33:09 +0530 |
commit | 54af324e854f4ff8d0c615633488360ce7edfbfb (patch) | |
tree | ea3b47154e82670ada13ff258bfdd0cdcb7d6b66 /src/nnn.c | |
parent | b41189313731729db7b7dcdea56f0b91aa1ec5ed (diff) | |
download | nnn-54af324e854f4ff8d0c615633488360ce7edfbfb.tar.gz |
Set max cols required to show file info
Diffstat (limited to 'src/nnn.c')
-rw-r--r-- | src/nnn.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2809,7 +2809,7 @@ static void redraw(char *path) attroff(A_UNDERLINE); /* Fallback to light mode if less than 35 columns */ - if (ncols < 35 && cfg.showdetail) { + if (ncols < 41 && cfg.showdetail) { cfg.showdetail ^= 1; printptr = &printent; mode_changed = TRUE; @@ -2817,7 +2817,7 @@ static void redraw(char *path) /* Calculate the number of cols available to print entry name */ if (cfg.showdetail) - ncols -= 30; + ncols -= 36; else ncols -= 5; |