From: Cedric Duval Date: Tue, 27 Sep 2005 16:36:56 +0000 (+0000) Subject: Keybindings hilight: switching from underlined to bold with <> markers. X-Git-Tag: upstream/0.6.1~2^2~146 X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=d3d7a0e6f276ab5a83fac0ff69b7d19614131b5c;p=pkg%2Fabook.git Keybindings hilight: switching from underlined to bold with <> markers. --- 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 } }