Skip to content

Commit 64f08cc

Browse files
authored
Fix scrolling in console (#3113)
1 parent fb159a8 commit 64f08cc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

archinstall/tui/help.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ class Help:
3939
navigation = HelpGroup(
4040
group_id=HelpTextGroupId.NAVIGATION,
4141
group_entries=[
42-
HelpText('Scroll up', ['Ctrl+↑']),
43-
HelpText('Scroll down', ['Ctrl+↓']),
42+
HelpText('Preview scroll up', ['PgUp']),
43+
HelpText('Preview scroll down', ['PgDown']),
4444
HelpText('Move up', ['k', '↑']),
4545
HelpText('Move down', ['j', '↓']),
4646
HelpText('Move right', ['l', '→']),

archinstall/tui/types.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ class MenuKeys(Enum):
4545
BACKSPACE = frozenset({127, 263})
4646
# Help view: ctrl+h
4747
HELP = frozenset({8})
48-
# Scroll up: CTRL+up
49-
SCROLL_UP = frozenset({581})
50-
# Scroll down: CTRL+down
51-
SCROLL_DOWN = frozenset({540})
48+
# Scroll up: PGUP
49+
SCROLL_UP = frozenset({339})
50+
# Scroll down: PGDOWN
51+
SCROLL_DOWN = frozenset({338})
5252

5353
@classmethod
5454
def from_ord(cls, key: int) -> list['MenuKeys']:

0 commit comments

Comments
 (0)