mirror of
https://git.sr.ht/~sircmpwn/aerc
synced 2026-01-21 06:41:35 +01:00
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. |
||
|---|---|---|
| .. | ||
| borders.go | ||
| context.go | ||
| fill.go | ||
| grid.go | ||
| interfaces.go | ||
| invalidatable.go | ||
| stack.go | ||
| tab.go | ||
| text.go | ||
| textinput.go | ||
| ui.go | ||