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 /src/tools | |
| 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 '')
0 files changed, 0 insertions, 0 deletions
