mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 13:25:51 +03:00
[PR #836] adding an option to disable dropdown primitive automatic selection of an item #1059
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#1059
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?
📋 Pull Request Information
Original PR: https://github.com/rivo/tview/pull/836
Author: @navidys
Created: 4/7/2023
Status: 🔄 Open
Base:
master← Head:dropdown_autoselect📝 Commits (1)
c51e927add option to disable dropdown primitive automatic selection of an item (based on prefix)📊 Changes
1 file changed (+18 additions, -7 deletions)
View changed files
📝
dropdown.go(+18 -7)📄 Description
Adding an option to disable dropdown primitive automatice selection of an item based on prefix.
Some applications using vim like key binding such as:
Dropdown primitive by default will select an input based on input key rune (prefix) that will cause issue with such a key bindings. Its possible to change to parse and change the key even in the application side, however I thought it will be more cleaner to be have an option.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.