aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nnn.c b/src/nnn.c
index f64804b..2704bef 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -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;