Merge pull request #31 from gmbrax/fix/binding-not-working

Merge fix/binding-not-working to staging
This commit is contained in:
Gustavo Henrique Miranda 2025-07-08 03:44:34 -03:00 committed by GitHub
commit 7d882b5f21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 10 additions and 1 deletions

View File

@ -1027,4 +1027,13 @@ class EditEntryScreen(Screen):
# Tab: insert tab # Tab: insert tab
elif self.focused is self.text_entry and event.key == "tab": elif self.focused is self.text_entry and event.key == "tab":
self.text_entry.insert('\t') self.text_entry.insert('\t')
event.stop() event.stop()
def on_footer_action(self, event) -> None:
"""Handle clicks on footer actions (Textual 3.x)."""
action = event.action
method = getattr(self, f"action_{action}", None)
if method:
method()
else:
self.notify(f"No action found for: {action}", severity="warning")