From d3d7a0e6f276ab5a83fac0ff69b7d19614131b5c Mon Sep 17 00:00:00 2001 From: Cedric Duval Date: Tue, 27 Sep 2005 16:36:56 +0000 Subject: [PATCH 1/1] Keybindings hilight: switching from underlined to bold with <> markers. --- ui.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ui.c b/ui.c index 6917f77..5603d4c 100644 --- a/ui.c +++ b/ui.c @@ -245,7 +245,7 @@ statusline_addhlstr(const char *str) while(1) { if(!*p || strchr("<>", *p)) { if(p - start > 0) { - wattrset(bottom, (*p == '>') ? A_UNDERLINE : A_NORMAL); + wattrset(bottom, (*p == '>') ? A_BOLD : A_NORMAL); tmp = xstrndup(start, p - start); mvwaddstr(bottom, 1, pos, tmp); free(tmp); @@ -253,11 +253,10 @@ statusline_addhlstr(const char *str) } if(*p) { start = p + 1; -#if 0 + /* show tag markers */ wattrset(bottom, A_DIM); mvwaddch(bottom, 1, pos++, *p); -#endif } } -- 2.39.2