[GH-ISSUE #167] Feature Request: modals arrow keys #135

Closed
opened 2026-03-04 01:02:15 +03:00 by kerem · 4 comments
Owner

Originally created by @porjo on GitHub (Sep 20, 2018).
Original GitHub issue: https://github.com/rivo/tview/issues/167

Allow left/up + right/down keys to select an option e.g. if the options are 'Cancel' + 'OK', then or would cycle right and + would cycle left between the two options.

Originally created by @porjo on GitHub (Sep 20, 2018). Original GitHub issue: https://github.com/rivo/tview/issues/167 Allow left/up + right/down keys to select an option e.g. if the options are 'Cancel' + 'OK', then `↓` or `→` would cycle right and `↑` + `←` would cycle left between the two options.
kerem closed this issue 2026-03-04 01:02:16 +03:00
Author
Owner

@rivo commented on GitHub (Sep 25, 2018):

To be sure, you're talking about the Modal class, correct?

<!-- gh-comment-id:424369207 --> @rivo commented on GitHub (Sep 25, 2018): To be sure, you're talking about the [`Modal`](https://godoc.org/github.com/rivo/tview#Modal) class, correct?
Author
Owner

@porjo commented on GitHub (Sep 26, 2018):

Yes

<!-- gh-comment-id:424625290 --> @porjo commented on GitHub (Sep 26, 2018): Yes
Author
Owner

@rivo commented on GitHub (Sep 26, 2018):

I've added this with the latest commit.

<!-- gh-comment-id:424650853 --> @rivo commented on GitHub (Sep 26, 2018): I've added this with the latest commit.
Author
Owner

@porjo commented on GitHub (Sep 26, 2018):

Great, thanks!

<!-- gh-comment-id:424653097 --> @porjo commented on GitHub (Sep 26, 2018): Great, thanks!
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#135
No description provided.