mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 13:25:51 +03:00
[GH-ISSUE #185] Bug Fix - SetAcceptanceFunc prevents all key input #146
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#146
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 @jr81 on GitHub (Nov 18, 2018).
Original GitHub issue: https://github.com/rivo/tview/issues/185
Running demos/inputfield/main.go won't allow any keyboard input.
I traced the bug from demos/inputfield/main.go:16 SetAcceptanceFunc(tview.InputFieldInteger)
to inputfield.go:367 where the following change worked for me:
Thank you for such a beautifully designed and well written library!
@delaneyj commented on GitHub (Nov 18, 2018):
I confirmed this is an issue and made a PR https://github.com/rivo/tview/pull/186
@rivo commented on GitHub (Nov 19, 2018):
Thanks for catching this! Didn't realize that mistake when I made the changes for #103.
@jr81 commented on GitHub (Nov 19, 2018):
It's the least I can do, as this is an exceptionally important package,
IMHO. Thank you! I'm experimenting with a simple HTML to TUI translator
(more TUI than w3m, etc). This way my Web back-end technologies can also
create my CLI tools.
On Mon, Nov 19, 2018 at 3:52 AM rivo notifications@github.com wrote: