diff --git a/Makefile b/Makefile index cd3fe9f6..c830a26c 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,6 @@ O_QSORT := 0 # use Alexey Tourbin's QSORT implementation O_BENCH := 0 # benchmark mode (stops at first user input) O_NOSSN := 0 # enable session support O_NOUG := 0 # disable user, group name in status bar -O_CKBOARD := 0 # use checker board (stipple) in detail mode O_NOX11 := 0 # disable X11 integration # convert targets to flags for backwards compatibility @@ -102,10 +101,6 @@ ifeq ($(strip $(O_NOUG)),1) CPPFLAGS += -DNOUG endif -ifeq ($(strip $(O_CKBOARD)),1) - CPPFLAGS += -DCKBOARD -endif - ifeq ($(strip $(O_NOX11)),1) CPPFLAGS += -DNOX11 endif diff --git a/misc/haiku/Makefile b/misc/haiku/Makefile index 4d3adc48..9f847ba9 100644 --- a/misc/haiku/Makefile +++ b/misc/haiku/Makefile @@ -23,7 +23,6 @@ O_QSORT := 0 # use Alexey Tourbin's QSORT implementation O_BENCH := 0 # benchmark mode (stops at first user input) O_NOSSN := 0 # enable session support O_NOUG := 0 # disable user, group name in status bar -O_CKBOARD := 0 # use checker board (stipple) in detail mode O_NOX11 := 0 # disable X11 integration # convert targets to flags for backwards compatibility @@ -101,10 +100,6 @@ ifeq ($(strip $(O_NOUG)),1) CPPFLAGS += -DNOUG endif -ifeq ($(strip $(O_CKBOARD)),1) - CPPFLAGS += -DCKBOARD -endif - ifeq ($(strip $(O_NOX11)),1) CPPFLAGS += -DNOX11 endif diff --git a/src/nnn.c b/src/nnn.c index f734157d..11786369 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -3782,12 +3782,8 @@ static void printent_long(const struct entry *ent, uint_t namecols, bool sel) { int attrs1 = g_state.oldcolor ? A_DIM : COLOR_PAIR(C_MIS); -#ifdef CKBOARD - //addch(sel ? ACS_CKBOARD : ' '); - addch(sel ? ' ' | A_REVERSE : ' '); -#else - addch(sel ? '>' | A_BOLD : ' '); -#endif + addch(sel ? ' ' | A_REVERSE : ' '); /* Reversed block for hovered entry */ + attron(attrs1); print_details(ent); attroff(attrs1);