]> Sergey Matveev's repositories - nnn.git/commitdiff
Continuous reverse for current entry in 8-color mode
authorArun Prakash Jana <engineerarun@gmail.com>
Mon, 5 Apr 2021 15:57:54 +0000 (21:27 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Mon, 5 Apr 2021 15:57:54 +0000 (21:27 +0530)
src/nnn.c

index 0071f129309e7b70b9a30336b781567908589640..b9dd483b26de91e429e426440549c06a00fc17dd 100644 (file)
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -3768,7 +3768,8 @@ static void printent_long(const struct entry *ent, uint_t namecols, bool sel)
        print_details(ent);
 
 #ifdef ICONS_ENABLED
-       attroff(attrs2);
+       if (!g_state.oldcolor)
+               attroff(attrs2);
 #endif
        addch(' ');
        if (!sel)