Use ctrl+h for help menu trigger (#2996)

This commit is contained in:
Daniel Girtler 2024-12-12 19:43:54 +11:00 committed by GitHub
parent 27df486dda
commit 1ff04c6df0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View File

@ -91,7 +91,7 @@ class AbstractCurses(metaclass=ABCMeta):
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:

View File

@ -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