瀏覽代碼

Set max cols required to show file info

master
Arun Prakash Jana 6 年之前
父節點
當前提交
54af324e85
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: A75979F35C080412
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      src/nnn.c

+ 2
- 2
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;



Loading…
取消
儲存