Reversed block for hovered entry in detail mode

This commit is contained in:
Arun Prakash Jana 2021-05-08 17:05:22 +05:30
parent da7dc8e6e2
commit 0691c4fb47
No known key found for this signature in database
GPG Key ID: A75979F35C080412
3 changed files with 2 additions and 16 deletions

View File

@ -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

View File

@ -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

View File

@ -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);