Introduction
Introduction Statistics Contact Development Disclaimer Help
mono_highlight: show items as bold when selected. - sfeed_curses - sfeed curses…
git clone git://git.codemadness.org/sfeed_curses
Log
Files
Refs
README
LICENSE
---
commit 7b644e71a5a08ba26bd420605310cdda33dac95f
parent 434cd340170d74620aaaa1bc56e681d59cb56864
Author: Hiltjo Posthuma <[email protected]>
Date: Sun, 30 May 2021 12:30:18 +0200
mono_highlight: show items as bold when selected.
bold + faint is not supported though, so new items won't be visible there.
Diffstat:
M themes/mono_highlight.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/themes/mono_highlight.h b/themes/mono_highlight.h
@@ -3,8 +3,8 @@
The combination bold with faint generally does not work either. */
#define THEME_ITEM_NORMAL() do { } while(…
#define THEME_ITEM_FOCUS() do { } while(…
-#define THEME_ITEM_BOLD() do { if (!selected) attrmode(ATTR_BOLD_O…
-#define THEME_ITEM_SELECTED() do { if (!p->focused) attrmode(ATTR_FAIN…
+#define THEME_ITEM_BOLD() do { if (p->focused || !selected) attrmo…
+#define THEME_ITEM_SELECTED() do { attrmode(ATTR_REVERSE_ON); if (!p->…
#define THEME_SCROLLBAR_FOCUS() do { } while(…
#define THEME_SCROLLBAR_NORMAL() do { attrmode(ATTR_FAINT_ON); } while(…
#define THEME_SCROLLBAR_TICK_FOCUS() do { attrmode(ATTR_REVERSE_ON); } while(…
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.