summaryrefslogtreecommitdiffstats
path: root/src/line.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Input editor: history, bracketed paste, in-line editingsalmonik9 days1-0/+415
- 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