mirror of https://git.sr.ht/~rjarry/aerc
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5b57d24afd
Make the Completer interface accept a context.Context. Provide a cancellation feature on text input tab completion to cancel an inflight completion command. This is particularly useful for address book completion if the user has specified a network-accessing command, eg carddav-query. The command is started according to the completion delay, but is cancellable if another request comes in. We also check for cancellation after the request is complete to ensure we only show valid completion results. Changelog-changed: Tab completions for text fields are run asynchronously. In-flight requests are cancelled when new input arrives. Signed-off-by: Tim Culverhouse <tim@timculverhouse.com> Acked-by: Robin Jarry <robin@jarry.cc> |
2 weeks ago | |
---|---|---|
.. | ||
borders.go | 9 months ago | |
box.go | 9 months ago | |
context.go | 9 months ago | |
fill.go | 9 months ago | |
grid.go | 9 months ago | |
interfaces.go | 9 months ago | |
popover.go | 9 months ago | |
stack.go | 9 months ago | |
string.go | 9 months ago | |
tab.go | 3 months ago | |
table.go | 9 months ago | |
text.go | 9 months ago | |
textinput.go | 2 weeks ago | |
textinput_test.go | 4 months ago | |
ui.go | 4 weeks ago |