From 37184044609997604bfa1ab08be356d8b4e5e19d Mon Sep 17 00:00:00 2001 From: salmonik Date: Sun, 15 Nov 2026 15:07:45 +0100 Subject: Input editor: history, bracketed paste, in-line editing - crossterm raw mode only for the duration of a prompt, so SIGINT keeps working during a turn - persisted history with prompt commands excluded and newlines escaped - bracketed paste inserts one multi-line buffer instead of firing N turns - ctrl-a/e/u/k/w editing, ctrl-c abandons the line, ctrl-d exits - ctrl-j submits, so pipes and pty harnesses work - width fallback: a 0-column pty is 80 columns, not 1 --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 22e8cf6..2e5e56a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,6 +10,7 @@ serde = { version = "1", features = ["derive"] } serde_json = "1" ureq = { version = "3", features = ["rustls"] } libc = "0.2" +crossterm = "0.29.0" [profile.release] strip = true -- cgit v1.2.3