[GH-ISSUE #375] Example of adding shortcuts to component #278

Closed
opened 2026-03-04 01:03:34 +03:00 by kerem · 1 comment
Owner

Originally created by @abitrolly on GitHub (Nov 28, 2019).
Original GitHub issue: https://github.com/rivo/tview/issues/375

Learning tview slowly. So far so great. :)

I already found SetInputCapture for 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.

Originally created by @abitrolly on GitHub (Nov 28, 2019). Original GitHub issue: https://github.com/rivo/tview/issues/375 Learning `tview` slowly. So far so great. :) I already found `SetInputCapture` for 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.
kerem closed this issue 2026-03-04 01:03:34 +03:00
Author
Owner

@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.

<!-- gh-comment-id:559676634 --> @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.
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/tview#278
No description provided.