Skip to content

armgit / herdr

Public Imported from GitHub
0

the runtime your coding agents live on

251 B
Raw Blame
pub(crate) fn paste_payload_for_runtime(
    runtime: &crate::terminal::TerminalRuntime,
    text: &str,
) -> String {
    if runtime.bracketed_paste_enabled() {
        format!("\x1b[200~{text}\x1b[201~")
    } else {
        text.to_owned()
    }
}