Skip to main content

handle_paste

Function handle_paste 

Source
pub async fn handle_paste(app: &mut App, text: &str)
Expand description

Handle pasted text from the terminal.

Normalises line endings, then dispatches to symbol search, bus filter, model filter, sessions filter, or chat input.

§Examples

handle_paste(&mut app, "pasted\ntext").await;