Skip to content

Commit aae3485

Browse files
committed
fix: prefix binding actions with app namespace
from Textualize#83
1 parent 218b69a commit aae3485

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/argparse_tui/tui.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,13 @@ class CommandBuilder(Screen):
4343
Binding(key="ctrl+y", action="copy_command_string", description="Copy Command"),
4444
Binding(
4545
key="ctrl+t,escape",
46-
action="focus_command_tree",
46+
action="app.focus_command_tree",
4747
description="Focus Command Tree",
4848
),
49-
Binding(key="ctrl+o,?", action="show_command_info", description="Command Info"),
50-
Binding(key="ctrl+s,i,/", action="focus('search')", description="Search"),
49+
Binding(
50+
key="ctrl+o,?", action="app.show_command_info", description="Command Info"
51+
),
52+
Binding(key="ctrl+s,i,/", action="app.focus('search')", description="Search"),
5153
Binding(key="f1", action="about", description="About"),
5254
Binding("q", "exit", show=False),
5355
]

0 commit comments

Comments
 (0)