]> Sergey Matveev's repositories - nnn.git/commitdiff
Use underline to show cur dir
authorArun Prakash Jana <engineerarun@gmail.com>
Sun, 26 Aug 2018 13:09:05 +0000 (18:39 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sun, 26 Aug 2018 13:09:05 +0000 (18:39 +0530)
nnn.c

diff --git a/nnn.c b/nnn.c
index 75d645ad323f7ff758e4c868cbff36102595271a..f3619d30788a8d86a8afc07f9cfb27475d1c7d7b 100644 (file)
--- 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) {