cded067bc3
This adds tab completion to textinput components. They can be configured with a completion function. This function is called when the user presses <tab>. The first completion is initially shown to the user inserted into the text. Repeated presses of <tab> or <backtab> cycle through the completions list. The completions list is invalidated when any other non-tab-like key is pressed. Also changed is some logic for current completion generation so that all available commands are returned when <tab> is pressed with no current text and similarly for arguments of commands. |
||
---|---|---|
.. | ||
account-wizard.go | ||
account.go | ||
aerc.go | ||
compose.go | ||
dirlist.go | ||
exline.go | ||
headerlayout.go | ||
msglist.go | ||
msgviewer.go | ||
providesmessage.go | ||
spinner.go | ||
status.go | ||
tabhost.go | ||
terminal.go |