Ask a question to get started
Enter to send•Shift+Enter new line
A clickable completion option in the autocomplete popup.
CompletionOption( self, label: str, description: str, index: int, is_selected: bool = False, **kwargs: Any = {} )
Static
label
str
The main label text (e.g., command name or file path)
description
Secondary description text
index
int
Index of this option in the suggestions list
is_selected
bool
False
Whether this option is currently selected
**kwargs
Any
{}
Additional arguments for parent
Set up the option display on mount.
Update the selected state of this option.
Handle click on this option.
Message sent when a completion option is clicked.