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
|
return False
|
||||||
|
|
||||||
def help_entry(self) -> ViewportEntry:
|
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:
|
def _show_help(self) -> None:
|
||||||
if not self._help_window:
|
if not self._help_window:
|
||||||
|
|
|
||||||
|
|
@ -43,11 +43,11 @@ class MenuKeys(Enum):
|
||||||
ESC = {27}
|
ESC = {27}
|
||||||
# BACKSPACE (search)
|
# BACKSPACE (search)
|
||||||
BACKSPACE = {127, 263}
|
BACKSPACE = {127, 263}
|
||||||
# Help view: ?
|
# Help view: ctrl+h
|
||||||
HELP = {63}
|
HELP = {8}
|
||||||
# Scroll up: CTRL+up, CTRL+k
|
# Scroll up: CTRL+up
|
||||||
SCROLL_UP = {581}
|
SCROLL_UP = {581}
|
||||||
# Scroll down: CTRL+down, CTRL+j
|
# Scroll down: CTRL+down
|
||||||
SCROLL_DOWN = {540}
|
SCROLL_DOWN = {540}
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue