[GH-ISSUE #113] Allow widgets to subscribe to global keyboard events #74

Closed
opened 2026-03-03 16:22:08 +03:00 by kerem · 0 comments
Owner

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.

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.
kerem 2026-03-03 16:22:08 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/termdash#74
No description provided.