mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-27 06:07:24 -05:00
fix: offer no paging keys on muxterm
muxterm keeps PgUp and PgDn for its scrollback and its L1 and R1 send nothing: the help named a page key that never reaches the interface.
This commit is contained in:
1 parent
a23e9a09b8
commit
36f4b338e1
4 files changed
+14
-4
No files matched your search
+5
-2
@@ -12044,7 +12044,9 @@ _HELP_KEYS: dict[str, dict[str, str | None]] = {
|
||||
"tick": "X, Space, Right/Left", "options": "Y, Tab, o",
|
||||
"back": "B, Select, Esc", "stop": "B, Esc, Ctrl-C", "kill": None,
|
||||
"enter": "A, Enter", "esc": "B, Esc"},
|
||||
"muxterm": {"move": "D-pad, Up/Down", "page": "PgUp/PgDn", "ok": "Start, Enter",
|
||||
# muxterm keeps PgUp and PgDn for its own scrollback, and its L1 and R1
|
||||
# send nothing: no key pages a list there.
|
||||
"muxterm": {"move": "D-pad, Up/Down", "page": None, "ok": "Start, Enter",
|
||||
"tick": "Y, Space, Right/Left", "options": "o, Tab",
|
||||
"back": "B, Esc, Backspace", "stop": "B, Esc, Ctrl-C", "kill": None,
|
||||
"enter": "Start, Enter", "esc": "Esc"},
|
||||
@@ -12080,7 +12082,8 @@ def _help_lines(state: TuiState) -> list[tuple[str, str]]:
|
||||
*_route_extras(state)]
|
||||
keys = [(names["move"], "Move")]
|
||||
if len(tui_rows(state)) > 9 or screen in _PAGERS:
|
||||
keys += [(names["page"], "Page"), ("Home/End, g/G", "First, last")]
|
||||
keys += [*([(names["page"], "Page")] if names["page"] else []),
|
||||
("Home/End, g/G", "First, last")]
|
||||
primary = _primary(state) or _TUI_VIEWS[screen](state, 80, 24)[2][0]
|
||||
ok = names["ok"]
|
||||
if state.pad == "miyoo" and screen in _CHECKLISTS:
|
||||
|
||||
Reference in new issue
Block a user