package
0.0.0-20240614105536-5788b19145bc
Repository: https://github.com/diamondburned/chatkit.git
Documentation: pkg.go.dev
# Functions
IterDataFromContext returns the IterData from the given context.
New creates a new instance of autocompleter.
# Constants
AutocompleterWidth is the minimum width of the popped up autocompleter.
MaxResults is the maximum number of search results.
WhitespaceRune is a special rune that Searcher can return to indicate that it should be activated on every word.
# Structs
Autocompleter is the autocompleter instance.
IterData contains iterator data that's given to Searcher.Search's context.
SelectedData wraps around a Data to provide additional metadata that could be useful for the user.
# Type aliases
SelectedFunc is the callback type that is called when the user has selected an entry inside the autocompleter.