Skip to content

Commit

Permalink
Use ctrl+h for help menu trigger (archlinux#2996)
Browse files Browse the repository at this point in the history
  • Loading branch information
svartkanin authored and castillofrancodamian committed Dec 21, 2024
1 parent e80c240 commit 8c831ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion archinstall/tui/curses_menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def _confirm_interrupt(self, warning: str) -> bool:
return False

def help_entry(self) -> ViewportEntry:
return ViewportEntry(str(_('Press ? for help')), 0, 0, STYLE.NORMAL)
return ViewportEntry(str(_('Press Ctrl+h for help')), 0, 0, STYLE.NORMAL)

def _show_help(self) -> None:
if not self._help_window:
Expand Down
8 changes: 4 additions & 4 deletions archinstall/tui/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ class MenuKeys(Enum):
ESC = {27}
# BACKSPACE (search)
BACKSPACE = {127, 263}
# Help view: ?
HELP = {63}
# Scroll up: CTRL+up, CTRL+k
# Help view: ctrl+h
HELP = {8}
# Scroll up: CTRL+up
SCROLL_UP = {581}
# Scroll down: CTRL+down, CTRL+j
# Scroll down: CTRL+down
SCROLL_DOWN = {540}

@classmethod
Expand Down

0 comments on commit 8c831ea

Please sign in to comment.