mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Use underline to show cur dir
This commit is contained in:
parent
0655306cb5
commit
2401d6dc70
4
nnn.c
4
nnn.c
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue