[GH-ISSUE #1013] Add custom Input Handler for the list #734

Open
opened 2026-03-04 01:07:22 +03:00 by kerem · 1 comment
Owner

Originally created by @MrORE0 on GitHub (Jul 30, 2024).
Original GitHub issue: https://github.com/rivo/tview/issues/1013

I was trying to create a rather simple To-Do app in the terminal as a part of my process of learning GO and I decided to use the lists in your code to display the different to-do tasks but there are some custom keys I want to add to your InputHandler for the list type in order for my idea to work.

Originally created by @MrORE0 on GitHub (Jul 30, 2024). Original GitHub issue: https://github.com/rivo/tview/issues/1013 I was trying to create a rather simple To-Do app in the terminal as a part of my process of learning GO and I decided to use the lists in your code to display the different to-do tasks but there are some custom keys I want to add to your InputHandler for the list type in order for my idea to work.
Author
Owner

@rivo commented on GitHub (Aug 4, 2024):

You'll want to use SetInputCapture().

<!-- gh-comment-id:2267477244 --> @rivo commented on GitHub (Aug 4, 2024): You'll want to use [`SetInputCapture()`](https://pkg.go.dev/github.com/rivo/tview#Box.SetInputCapture).
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#734
No description provided.