[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/20: installer: Make all windows with ports scrollable.
From: |
John Darrington |
Subject: |
09/20: installer: Make all windows with ports scrollable. |
Date: |
Thu, 12 Jan 2017 20:41:03 +0000 (UTC) |
jmd pushed a commit to branch wip-installer
in repository guix.
commit 187293f631f26f0cb86db98f173ca5380a136ffe
Author: John Darrington <address@hidden>
Date: Sat Jan 7 11:51:10 2017 +0100
installer: Make all windows with ports scrollable.
* gnu/system/installer/install.scm (install-page-init): Remove scrollok #t
* gnu/system/installer/utils.scm (make-window-port): Add scrollok! #t
---
gnu/system/installer/install.scm | 3 ---
gnu/system/installer/utils.scm | 6 ++++++
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/gnu/system/installer/install.scm b/gnu/system/installer/install.scm
index 2023d7e..3c04869 100644
--- a/gnu/system/installer/install.scm
+++ b/gnu/system/installer/install.scm
@@ -153,9 +153,6 @@
0))
)
- ;; There will be a lot of text sent to this window!
- (scrollok! (inner config-window) #t)
-
(addstr* text-window
(gettext
"Choose \"Continue\" to start installing the system."))
diff --git a/gnu/system/installer/utils.scm b/gnu/system/installer/utils.scm
index 5517710..079c264 100644
--- a/gnu/system/installer/utils.scm
+++ b/gnu/system/installer/utils.scm
@@ -60,6 +60,12 @@
(define (make-window-port win)
"Return a port which writes to the curses window WIN"
+
+ ;; It is reasonable to assume that windows for which a soft-port
+ ;; exists will have a lot of text sent to them and should therefore
+ ;; be scrollable.
+ (scrollok! win #t)
+
(make-soft-port
(vector
(lambda (c) (addch win c))
- branch wip-installer updated (9c4d060 -> 3673cd8), John Darrington, 2017/01/12
- 02/20: installer: Remove explicit calls to curs-set from pages., John Darrington, 2017/01/12
- 01/20: installer: Correct behaviour of push-cursor and pop-cursor procedures., John Darrington, 2017/01/12
- 12/20: installer: "Setup" --> "Set up", John Darrington, 2017/01/12
- 03/20: installer: Remove pointless calls to delwin., John Darrington, 2017/01/12
- 14/20: installer: Use "lspci -mm" instead of "lspci -m"., John Darrington, 2017/01/12
- 17/20: installer: Use a cleaner method of detecting wireless capability for ethernet interfaces., John Darrington, 2017/01/12
- 09/20: installer: Make all windows with ports scrollable.,
John Darrington <=
- 08/20: installer: Ignore case in button accelerators., John Darrington, 2017/01/12
- 05/20: installer: New procedure: page-enter., John Darrington, 2017/01/12
- 11/20: installer: Add installer source files to the manifest of translatables., John Darrington, 2017/01/12
- 15/20: installer: slurp: Ignore blank lines in output., John Darrington, 2017/01/12
- 04/20: installer: New procedure "page-leave"., John Darrington, 2017/01/12
- 18/20: guix: Add IFF_RUNNING to exported syscall constants., John Darrington, 2017/01/12
- 20/20: installer: Enable direct scrolling to top or bottom of menus., John Darrington, 2017/01/12
- 19/20: installer: Make the network menu more reliable., John Darrington, 2017/01/12
- 07/20: installer: Rename "Back" buttons to "Cancel"., John Darrington, 2017/01/12
- 13/20: installer: Use guix build syscalls module for network interrogation., John Darrington, 2017/01/12