[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
81/197: installer: Make all windows with ports scrollable.
From: |
Danny Milosavljevic |
Subject: |
81/197: installer: Make all windows with ports scrollable. |
Date: |
Mon, 3 Jul 2017 20:37:04 -0400 (EDT) |
dannym pushed a commit to branch wip-installer-2
in repository guix.
commit b7d78d290392bcbacb447aca648daf74092f3d71
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))
- 107/197: installer: Do not allow the creation of invalid file-system specificaitons., (continued)
- 107/197: installer: Do not allow the creation of invalid file-system specificaitons., Danny Milosavljevic, 2017/07/03
- 57/197: installer: Add a console-keymap service., Danny Milosavljevic, 2017/07/03
- 69/197: installer: Remove "continue" button from host name page., Danny Milosavljevic, 2017/07/03
- 58/197: installer: Add flags to indicate network interface status., Danny Milosavljevic, 2017/07/03
- 72/197: installer: Use --fallback when installing., Danny Milosavljevic, 2017/07/03
- 73/197: installer: Correct behaviour of push-cursor and pop-cursor procedures., Danny Milosavljevic, 2017/07/03
- 77/197: installer: New procedure: page-enter., Danny Milosavljevic, 2017/07/03
- 82/197: installer: Rename 'file-browser.scm' to 'key-map.scm'., Danny Milosavljevic, 2017/07/03
- 63/197: installer: Change essid --> wireless., Danny Milosavljevic, 2017/07/03
- 70/197: installer: Rename "file-browser" -> "time-zone"., Danny Milosavljevic, 2017/07/03
- 81/197: installer: Make all windows with ports scrollable.,
Danny Milosavljevic <=
- 62/197: installer: Add page with which the wifi password can be entered., Danny Milosavljevic, 2017/07/03
- 75/197: installer: Remove pointless calls to delwin., Danny Milosavljevic, 2017/07/03
- 87/197: installer: Minor cleanup., Danny Milosavljevic, 2017/07/03
- 79/197: installer: Rename "Back" buttons to "Cancel"., Danny Milosavljevic, 2017/07/03
- 98/197: installer: Correct bug detecting a wireless interface., Danny Milosavljevic, 2017/07/03
- 91/197: installer: Add callback parameter for forms., Danny Milosavljevic, 2017/07/03
- 95/197: installer: Add a predicate to ensure the partitions have been formatted., Danny Milosavljevic, 2017/07/03
- 102/197: installer: Correct bug where the timezone page returned to the wrong page., Danny Milosavljevic, 2017/07/03
- 119/197: gurses: Allow menu update to work for panel windows., Danny Milosavljevic, 2017/07/03
- 103/197: installer: Avoid exception when the device to format cannot be found., Danny Milosavljevic, 2017/07/03