mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 04:55:58 +03:00
[GH-ISSUE #402] Listen to focused inputs #100
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#100
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 @vdawg-git on GitHub (Dec 10, 2025).
Original GitHub issue: https://github.com/anomalyco/opentui/issues/402
I built a shortcut system, but it should not be active if a textinput is focused.
Is there a way to react to elements getting focused?
I found
renderer.currentFocusedRenderablebut no events.@kommander commented on GitHub (Dec 11, 2025):
An event when the focus renderable changes could be added to the renderer.
@vdawg-git commented on GitHub (Dec 12, 2025):
Yes, this would make sense. I realized though that simply wrapping the
inputcomponent would be enough for me.Dunno, it could make sense for third-party libs which want to be framework independent, but that goes too far into the future