diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-15 15:07:45 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-15 15:07:45 +0100 |
| commit | 37184044609997604bfa1ab08be356d8b4e5e19d (patch) | |
| tree | b6e33c9b3d8d8fa0b51ecced4d154f4d63bf4534 /Cargo.toml | |
| parent | docs: correct the context-window assumption in ADR 0002 (diff) | |
| download | agent686-37184044609997604bfa1ab08be356d8b4e5e19d.tar.gz agent686-37184044609997604bfa1ab08be356d8b4e5e19d.zip | |
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
Diffstat (limited to '')
| -rw-r--r-- | Cargo.toml | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -10,6 +10,7 @@ serde = { version = "1", features = ["derive"] } | |||
| 10 | serde_json = "1" | 10 | serde_json = "1" |
| 11 | ureq = { version = "3", features = ["rustls"] } | 11 | ureq = { version = "3", features = ["rustls"] } |
| 12 | libc = "0.2" | 12 | libc = "0.2" |
| 13 | crossterm = "0.29.0" | ||
| 13 | 14 | ||
| 14 | [profile.release] | 15 | [profile.release] |
| 15 | strip = true | 16 | strip = true |
