aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-08-26 18:39:05 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-08-26 18:39:05 +0530
commit2401d6dc703e27efabe05b6983fdbdf0fb9c8834 (patch)
treee0de854b8d4cc6fef76bf9cf7e6c063d3b5fe60e
parent0655306cb57d442ae94e45eefd26e0b8bcb94b1d (diff)
downloadnnn-2401d6dc703e27efabe05b6983fdbdf0fb9c8834.tar.gz
Use underline to show cur dir
-rw-r--r--nnn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nnn.c b/nnn.c
index 75d645a..f3619d3 100644
--- a/nnn.c
+++ b/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) {