[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/21: gurses: Use inverse instead of underline for field value area.
From: |
John Darrington |
Subject: |
02/21: gurses: Use inverse instead of underline for field value area. |
Date: |
Sun, 29 Jan 2017 07:35:01 +0000 (UTC) |
jmd pushed a commit to branch wip-installer
in repository guix.
commit 9ef49f39c4c382675713909a462745a62f61ac26
Author: John Darrington <address@hidden>
Date: Sun Jan 22 19:00:39 2017 +0100
gurses: Use inverse instead of underline for field value area.
* gurses/form.scm: Use inverse instead of underline. Framebuffer
terminals don't support underline.
---
gurses/form.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gurses/form.scm b/gurses/form.scm
index 7dac5bc..efc03cd 100644
--- a/gurses/form.scm
+++ b/gurses/form.scm
@@ -75,7 +75,7 @@
(fold (lambda (x prev) (max prev (string-length x))) 0
(field-size field))
(field-size field))
- (underline #\space))
+ (inverse #\space))
#:y y
#:x x))
@@ -83,7 +83,7 @@
"Redraw the FIELD in FORM"
(draw-field-space (form-window form) field n (form-tabpos form))
- (addstr (form-window form) (field-value field)
+ (addchstr (form-window form) (inverse (field-value field))
#:y n
#:x (form-tabpos form)))
@@ -175,7 +175,7 @@ label eq? to N"
(make-string 1 ch)))
(field-set-cursor-position! f (1+ (field-cursor-position f)))
- (addch (form-window form) (normal ch)))
+ (addch (form-window form) (inverse ch)))
((eq? ch KEY_DC)
(field-set-value! f (string-append left right))
- branch wip-installer updated (61c0ffb -> 9ff399e), John Darrington, 2017/01/29
- 02/21: gurses: Use inverse instead of underline for field value area.,
John Darrington <=
- 07/21: installer: No passphrase is needed for clear networks., John Darrington, 2017/01/29
- 04/21: installer: Change livery., John Darrington, 2017/01/29
- 08/21: installer: Prepare for new wireless network features., John Darrington, 2017/01/29
- 05/21: installer: Tolerate an undefined system role in config generation., John Darrington, 2017/01/29
- 09/21: installer: Clear the mount point field for swap file systems., John Darrington, 2017/01/29
- 03/21: installer: Add new procedure to check file system specifications., John Darrington, 2017/01/29
- 01/21: installer: Delete unused procedure "justify"., John Darrington, 2017/01/29
- 20/21: gurses: Add new procedure "word-endings"., John Darrington, 2017/01/29
- 14/21: gurses: Add predicate to test if a complex char is blank., John Darrington, 2017/01/29
- 12/21: gurses: Avoid one usage of car and cdr., John Darrington, 2017/01/29