]> git.deb.at Git - pkg/abook.git/commitdiff
Keybindings hilight: switching from underlined to bold with <> markers.
authorCedric Duval <cedricduval@free.fr>
Tue, 27 Sep 2005 16:36:56 +0000 (16:36 +0000)
committerCedric Duval <cedricduval@free.fr>
Tue, 27 Sep 2005 16:36:56 +0000 (16:36 +0000)
ui.c

diff --git a/ui.c b/ui.c
index 6917f77863768a80180909797f6f6d5dcbb05f5c..5603d4cc0e433ee61b07efda47277840c5fa1ff4 100644 (file)
--- 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
                        }
                }