Use ctrl+h for help menu trigger (#2996)
This commit is contained in:
parent
27df486dda
commit
1ff04c6df0
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue