Skip to content

Commit d7d0051

Browse files
committed
fix(keys): disable command palette
Disable the command palette for `textual keys`. Since this tool is designed for debugging keys, pressing `ctrl+p` should just show the key event.
1 parent 6485ab6 commit d7d0051

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/textual_dev/previews/keys.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ class KeysApp(App[None], inherit_bindings=False):
3535
width: 1fr;
3636
}
3737
"""
38+
ENABLE_COMMAND_PALETTE = False
3839

3940
last_key: var[str | None] = var[Optional[str]](None)
4041

0 commit comments

Comments
 (0)