Skip to content

Commit a49a76d

Browse files
committed
fix
1 parent c855d77 commit a49a76d

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

src/rovr/classes/app_mixins.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,14 @@ def show_chord(self, bindings: KeyMap) -> None:
729729
continue
730730
display_key = f"<{key}>" if "+" in key else key
731731
description = cast(str, binding.get("desc") or binding.get("action") or key)
732-
cells.append(Text.assemble((display_key, "bold"), f" {description}"))
732+
cells.append(
733+
Text.assemble(
734+
(display_key, "bold"),
735+
f" {description}",
736+
overflow="ellipsis",
737+
no_wrap=True,
738+
)
739+
)
733740
for index in range(0, len(cells), columns):
734741
table.add_row(*cells[index : index + columns])
735742

@@ -792,6 +799,7 @@ async def _check_bindings(self: App, key: str, priority: bool = False) -> bool:
792799
namespaces=namespaces,
793800
)
794801
self._cancel_key_chord()
802+
return True
795803

796804
if (
797805
priority

0 commit comments

Comments
 (0)