Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ctrl+h for help menu trigger #2996

Merged
merged 1 commit into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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