mirror of
https://github.com/mum4k/termdash.git
synced 2026-04-27 03:15:55 +03:00
[GH-ISSUE #113] Allow widgets to subscribe to global keyboard events #74
Labels
No labels
bug
cleanup
enhancement
enhancement
enhancement
good first issue
help wanted
help wanted
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/termdash#74
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mum4k on GitHub (Feb 11, 2019).
Original GitHub issue: https://github.com/mum4k/termdash/issues/113
We could add an option to the widget API. When returned by the widget, the infra should forward all keyboard events to this widget, not just when its container is focused.
Useful for widgets like the button, where we might want to react to Enter or Esc key regardless of the focus.