mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 13:25:51 +03:00
[GH-ISSUE #1132] No Means Of Unsetting lastFinishedKey in Form #822
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#822
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 @bn-bmagee on GitHub (Nov 10, 2025).
Original GitHub issue: https://github.com/rivo/tview/issues/1132
Best I can tell there is no means of setting or unsetting lastFinishedKey in a Form, which means that whenever Focus is called on the Form there will be additional behavior that can't be avoided. I think that's what's getting me right now; I'm trying to set the item that will be focused when the user returns to a form but I'm getting focus on an entirely different element instead. If I were to reimplement this I would put the input handling entirely within the InputHandler(), but I'm sure you have your reasons for tying it into Focus directly.