mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 21:35:54 +03:00
[GH-ISSUE #546] Autocomplete keybinding behavior #398
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#398
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 @tfrs1 on GitHub (Jan 8, 2021).
Original GitHub issue: https://github.com/rivo/tview/issues/546
Hello,
I'm writing a CLI utility and I'd like to change the autocomplete behavior of the input field inside a form. More specifically I'd like the tab button to complete the current autocomplete suggestion instead of going to the next one. What would be a good way to achieve this?
It looks like exposing
autocompleteListwould allow for this modification.Thanks!
@rivo commented on GitHub (Jan 11, 2021):
Actually, I think the Tab key's behaviour should have been like that to begin with. The latest commit fixes this. (Along with some other minor improvements to the autocomplete functionality.)
@tfrs1 commented on GitHub (Jan 12, 2021):
Well that was fast. Thank you @rivo!