mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 21:35:54 +03:00
[GH-ISSUE #375] Example of adding shortcuts to component #278
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#278
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 @abitrolly on GitHub (Nov 28, 2019).
Original GitHub issue: https://github.com/rivo/tview/issues/375
Learning
tviewslowly. So far so great. :)I already found
SetInputCapturefor adding shortcuts to component. Still I feel like https://github.com/rivo/tview/wiki could provide a ready to use example for that use case.Basically pasting https://github.com/rivo/tview/wiki/Primitives#hooking-into-key-events into its own page.
@rivo commented on GitHub (Nov 29, 2019):
Feel free to send me a link to a gist with a tutorial. It should be similar to the existing tutorials, with examples, explanations etc. If it is, I'll add it to the Wiki.