diff options
| author | 2020-05-12 15:15:47 +0530 | |
|---|---|---|
| committer | 2020-05-12 15:15:47 +0530 | |
| commit | 38e61fb8640a6960348fefb530e6d556fab9069d (patch) | |
| tree | deaf9935ee352f64bbecbff6e85b3368589730ae /src | |
| parent | dd4173551f6553daeab48f86995c01f10f86379e (diff) | |
| download | nnn-38e61fb8640a6960348fefb530e6d556fab9069d.tar.gz | |
Skip printing and erasing
Diffstat (limited to 'src')
| -rw-r--r-- | src/nnn.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -5111,9 +5111,11 @@ static void redraw(char *path) addch((i + '1') | (COLOR_PAIR(i + 1) | A_BOLD /* active: underline, current: 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); |