[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/08: gurses: Update the cursor position when posting the form.
From: |
John Darrington |
Subject: |
05/08: gurses: Update the cursor position when posting the form. |
Date: |
Fri, 10 Feb 2017 08:17:11 -0500 (EST) |
jmd pushed a commit to branch wip-installer
in repository guix.
commit 7cf63cf5879affd8e44af8db2e722197c47b897c
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)))
- branch wip-installer updated (688f4f7 -> e0eeeab), John Darrington, 2017/02/10
- 08/08: gurses: Don't crash if asked for an item by an invalid index., John Darrington, 2017/02/10
- 06/08: installer: Remove whitespace., John Darrington, 2017/02/10
- 05/08: gurses: Update the cursor position when posting the form.,
John Darrington <=
- 03/08: installer: Remove unused procedure., John Darrington, 2017/02/10
- 01/08: installer: Fix the startup locale., John Darrington, 2017/02/10
- 07/08: installer: Provide the ability to add new users., John Darrington, 2017/02/10
- 04/08: installer: New page to edit user accounts., John Darrington, 2017/02/10
- 02/08: installer: Add users page., John Darrington, 2017/02/10