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
# convert targets to flags for backwards compatibility
ifneq ($(filter debug,$(MAKECMDGOALS)),)
CPPFLAGS += -DNOUG
endif
+ifeq ($(strip $(O_CKBOARD)),1)
+ CPPFLAGS += -DCKBOARD
+endif
+
ifeq ($(shell $(PKG_CONFIG) ncursesw && echo 1),1)
CFLAGS_CURSES ?= $(shell $(PKG_CONFIG) --cflags ncursesw)
LDLIBS_CURSES ?= $(shell $(PKG_CONFIG) --libs ncursesw)
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
# convert targets to flags for backwards compatibility
ifneq ($(filter debug,$(MAKECMDGOALS)),)
CPPFLAGS += -DNOUG
endif
+ifeq ($(strip $(O_CKBOARD)),1)
+ CPPFLAGS += -DCKBOARD
+endif
+
ifeq ($(shell $(PKG_CONFIG) ncursesw && echo 1),1)
CFLAGS_CURSES ?= $(shell $(PKG_CONFIG) --cflags ncursesw)
LDLIBS_CURSES ?= $(shell $(PKG_CONFIG) --libs ncursesw)
{
int attrs1 = g_state.oldcolor ? A_DIM : COLOR_PAIR(C_MIS);
+#ifdef CKBOARD
addch(sel ? ACS_CKBOARD : ' ');
+#else
+ addch(sel ? '>' : ' ');
+#endif
attron(attrs1);
print_details(ent);
attroff(attrs1);