-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trogon footer broken in Textual 0.60.0 and above #82
Comments
Er, sorry, before you get at all deep into this—although the visual footer change occured in 0.63.0, I think the actual functional part is broken earlier than 0.63.0—looking for that version now and will update. |
It appears the functional portion of the footer broke in version 0.60.0 and above. |
The problem is this change in Textual v0.61.0:
The fix is pretty simple but would require a new Trojon release: diff --git a/trogon/trogon.py b/trogon/trogon.py
index 1238747..36b1884 100644
--- a/trogon/trogon.py
+++ b/trogon/trogon.py
@@ -48,10 +48,14 @@ class CommandBuilder(Screen):
BINDINGS = [
Binding(key="ctrl+r", action="close_and_run", description="Close & Run"),
Binding(
- key="ctrl+t", action="focus_command_tree", description="Focus Command Tree"
+ key="ctrl+t",
+ action="app.focus_command_tree",
+ description="Focus Command Tree",
),
- Binding(key="ctrl+o", action="show_command_info", description="Command Info"),
- Binding(key="ctrl+s", action="focus('search')", description="Search"),
+ Binding(
+ key="ctrl+o", action="app.show_command_info", description="Command Info"
+ ),
+ Binding(key="ctrl+s", action="app.focus('search')", description="Search"),
Binding(key="f1", action="about", description="About"),
] |
Reproduction and more details here.
The text was updated successfully, but these errors were encountered: