guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/26: gurses: Change highlighting from bold to inverse.


From: John Darrington
Subject: 07/26: gurses: Change highlighting from bold to inverse.
Date: Sun, 22 Jan 2017 12:09:24 +0000 (UTC)

jmd pushed a commit to branch wip-installer
in repository guix.

commit 4b21f45d3409b6dfd8c7fd015b827e0859edd5e7
Author: John Darrington <address@hidden>
Date:   Tue Jan 17 11:40:22 2017 +0100

    gurses: Change highlighting from bold to inverse.
    
    * gurses/buttons.scm (buttons-post): bold --> inverse.
---
 gurses/buttons.scm |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gurses/buttons.scm b/gurses/buttons.scm
index a893494..49853d6 100644
--- a/gurses/buttons.scm
+++ b/gurses/buttons.scm
@@ -135,7 +135,11 @@
                                    (if (and (eq? c #\_) use-underscore)
                                        output
                                        (cons
-                                        (if us (bold c) (normal c))
+                                        (if us
+                                             ;; On some terminals bold isn't 
visible
+                                             ;; Inverse is much clearer.
+                                             (inverse c)
+                                             (normal c))
                                         output))
                                    (cdr input))))))
                 (label (car label.mark))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]