Selaa lähdekoodia

Skip printing and erasing

master
Arun Prakash Jana 5 vuotta sitten
vanhempi
commit
38e61fb864
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 muutettua tiedostoa jossa 4 lisäystä ja 2 poistoa
  1. +4
    -2
      src/nnn.c

+ 4
- 2
src/nnn.c Näytä tiedosto

@@ -5111,9 +5111,11 @@ static void redraw(char *path)
addch((i + '1') | (COLOR_PAIR(i + 1) | A_BOLD addch((i + '1') | (COLOR_PAIR(i + 1) | A_BOLD
/* active: underline, current: reverse */ /* active: underline, current: reverse */
| ((cfg.curctx != i) ? A_UNDERLINE : A_REVERSE))); | ((cfg.curctx != i) ? A_UNDERLINE : A_REVERSE)));
addch(' ');

if (i != CTX_MAX - 1)
addch(' ');
} }
addstr("\b] "); /* 10 chars printed for contexts - "[1 2 3 4] " */
addstr("] "); /* 10 chars printed for contexts - "[1 2 3 4] " */


attron(A_UNDERLINE); attron(A_UNDERLINE);




Loading…
Peruuta
Tallenna