aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-11-15 15:07:45 +0100
committersalmonik <salmonik@tuta.io>2026-11-15 15:07:45 +0100
commit37184044609997604bfa1ab08be356d8b4e5e19d (patch)
treeb6e33c9b3d8d8fa0b51ecced4d154f4d63bf4534 /src/lib.rs
parentdocs: correct the context-window assumption in ADR 0002 (diff)
downloadagent686-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 'src/lib.rs')
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 18fe336..e978f83 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,5 +1,6 @@
1pub mod agent; 1pub mod agent;
2pub mod config; 2pub mod config;
3pub mod line;
3pub mod provider; 4pub mod provider;
4pub mod session; 5pub mod session;
5pub mod signal; 6pub mod signal;