Kaynağa Gözat

Use underline to show cur dir

master
Arun Prakash Jana 6 yıl önce
ebeveyn
işleme
2401d6dc70
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: A75979F35C080412
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. +2
    -2
      nnn.c

+ 2
- 2
nnn.c Dosyayı Görüntüle

@@ -2318,11 +2318,11 @@ redraw(char *path)
if (ncols > PATH_MAX)
ncols = PATH_MAX;

attron(A_REVERSE);
attron(A_UNDERLINE);
/* No text wrapping in cwd line */
g_buf[ncols - 1] = '\0';
printw("%s\n\n", g_buf);
attroff(A_REVERSE);
attroff(A_UNDERLINE);

/* Fallback to light mode if less than 35 columns */
if (ncols < 35 && cfg.showdetail) {


Yükleniyor…
İptal
Kaydet