Ask a question to get started
Enter to send•Shift+Enter new line
PromptClipboardScreen( self, prompts: tuple[str, ...], initial_query: str =
ModalScreen[str | None]
prompts
tuple[str, ...]
Unique prompts, newest first.
initial_query
str
''
Filter text to seed the search input with, either from the chat input or an inline search query.
empty_message
str | None
None
Compose the filter, results, preview, and keyboard help.
Render the initial rows and focus search.
Filter prompts using the current search value.
Insert the selected prompt when search receives Enter.
Move the selection to the clicked row.
Move selection toward newer prompts.
Move selection toward older prompts.
Dismiss with the selected prompt.
Copy the selected prompt without dismissing the modal.
Dismiss without selecting a prompt.
Filter, preview, copy, or select a previously submitted prompt.
Replaces the "no prompts yet" text when prompts is empty for a reason worth naming, such as an unreadable history file.