mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Reversed block for hovered entry in detail mode
This commit is contained in:
parent
da7dc8e6e2
commit
0691c4fb47
5
Makefile
5
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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue