[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
172/197: gurses: Update the cursor position when posting the form.
From: |
Danny Milosavljevic |
Subject: |
172/197: gurses: Update the cursor position when posting the form. |
Date: |
Mon, 3 Jul 2017 20:37:20 -0400 (EDT) |
dannym pushed a commit to branch wip-installer-2
in repository guix.
commit 8a207d9bc683d53e5035b46e64cec5b8617656cf
Author: John Darrington <address@hidden>
Date: Mon Feb 6 20:00:35 2017 +0100
gurses: Update the cursor position when posting the form.
* gurses/form.scm (form-post): Update the cursor before returning.
---
gurses/form.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gurses/form.scm b/gurses/form.scm
index efc03cd..c4adb3b 100644
--- a/gurses/form.scm
+++ b/gurses/form.scm
@@ -311,7 +311,9 @@ label eq? to N"
(if (array-in-bounds? fields pos)
(let ((f (array-ref fields pos)))
(draw-field-space win f pos xpos)
- (loop fields (1+ pos)))))))
+ (loop fields (1+ pos))))))
+
+ (form-update-cursor form))
(define (get-current-field form)
(array-ref (form-items form) (form-current-item form)))
- 133/197: installer: Change livery., (continued)
- 133/197: installer: Change livery., Danny Milosavljevic, 2017/07/03
- 146/197: gurses: Use match instead of car/cdr in line-split., Danny Milosavljevic, 2017/07/03
- 147/197: gurses: In paragraph-format avoid use of car and cdr., Danny Milosavljevic, 2017/07/03
- 144/197: gurses: Avoid one more use of car and cdr., Danny Milosavljevic, 2017/07/03
- 143/197: gurses: Add predicate to test if a complex char is blank., Danny Milosavljevic, 2017/07/03
- 149/197: gurses: Add new procedure "word-endings"., Danny Milosavljevic, 2017/07/03
- 155/197: installer: Use _ instead of M_ for host-name-refresh., Danny Milosavljevic, 2017/07/03
- 160/197: installer: New convenience procedures., Danny Milosavljevic, 2017/07/03
- 158/197: installer: Correct placement of gettext call., Danny Milosavljevic, 2017/07/03
- 163/197: gurses: Cache the windows of buttons., Danny Milosavljevic, 2017/07/03
- 172/197: gurses: Update the cursor position when posting the form.,
Danny Milosavljevic <=
- 165/197: installer: New procedure key-value-slurp., Danny Milosavljevic, 2017/07/03
- 175/197: gurses: Don't crash if asked for an item by an invalid index., Danny Milosavljevic, 2017/07/03
- 171/197: installer: New page to edit user accounts., Danny Milosavljevic, 2017/07/03
- 187/197: installer: Add procudure for starting a wireless interface., Danny Milosavljevic, 2017/07/03
- 192/197: installer: Only build if guile-ncurses is available., Danny Milosavljevic, 2017/07/03
- 68/197: installer: Add new page to set the system role., Danny Milosavljevic, 2017/07/03
- 117/197: installer: Remove unnecessary "begin"., Danny Milosavljevic, 2017/07/03
- 113/197: installer: Explicitly set the #:panel parameter for window creation procedures., Danny Milosavljevic, 2017/07/03
- 122/197: gurses: Populate the choices box in forms., Danny Milosavljevic, 2017/07/03
- 128/197: installer: Remove redundant list of file system types., Danny Milosavljevic, 2017/07/03