Ask a question to get started
Enter to sendā¢Shift+Enter new line
InlinePromptOption( self, text: str, index: int, *, selected: bool =
Static
text
str
Option label.
index
int
Position in its owning prompt's option list.
selected
bool
False
Whether to render the option selected initially.
selected_class
str | None
None
**kwargs
Any
{}
Whether the selection cursor is currently shown on this option.
Mark this option as selected.
Mark this option as deselected.
Update cursor visibility and visual highlighting independently.
Render a selectable inline-prompt option with a cursor.
CSS class applied while the option is highlighted.
Additional Static arguments.