Some fonts and terminals can be configured to not show bold fonts (XTerm,
say), as well as provide bold-font equivalents.  Therefore, when rendering
WINLINK_ALERT entries in choose-mode, use ATTR_REVERSE to depict them.
---
 trunk/window-choose.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/trunk/window-choose.c b/trunk/window-choose.c
index 9ab277d..fcfe6be 100644
--- a/trunk/window-choose.c
+++ b/trunk/window-choose.c
@@ -461,7 +461,7 @@ window_choose_write_line(
                item = &ARRAY_ITEM(&data->list, data->top + py);
                if (item->wcd->wl != NULL &&
                    item->wcd->wl->flags & WINLINK_ALERTFLAGS)
-                       gc.attr |= GRID_ATTR_BRIGHT;
+                       gc.attr |= GRID_ATTR_REVERSE;
 
                key = window_choose_key_index(data, data->top + py);
                if (key != -1)
-- 
1.7.11.2


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to