summaryrefslogtreecommitdiffstats
path: root/src/line.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 0.9.1: correctness fixes from the auditsalmonik6 days1-9/+14
| | | | | | | | | | - 64 MiB limit detected by file length, so pipelines and redirects are reported - bash temp files removed on every path via a scope guard - validate requires content/new as the schemas declare (present, may be empty) - Session::open folds in model-switch records; resume matches --list - combining mark at a wrap boundary no longer counts as a new row - --flag=value accepted; flag-shaped values rejected - dead code removed; last_reply folded into open (one read per resume)
* 0.6.2: resizing no longer duplicates the promptsalmonik9 days1-6/+8
| | | | | | The terminal reflows the input block and moves the caret with it, so drawing on resize produced a second copy. Recompute the caret's row and let the next redraw work from the reflowed block. Documented the dependency on reflowing terminals.
* 0.6.1: redraw from the caret row, not the block heightsalmonik9 days1-13/+80
| | | | | | | | | A two-line prompt with the caret moved up made the next redraw overshoot by one row and clear the line above, erasing the model's output. The editor now tracks the caret's row. Adds scripts/ux-check.sh, which drives tmux and asserts the rendered screen: byte-level tests cannot see misplaced cursors or erased rows.
* 0.5.3: session locking, UTF-8 and size guards for edit, correct character widthssalmonik9 days1-1/+44
| | | | | | - exclusive flock on session files - edit refuses non-UTF-8 and >64 MiB files with actionable messages - editor uses unicode-width, expands tabs, handles resize
* 0.5.2: lazy-wrap redraw, and reasoning ends its own linesalmonik9 days1-37/+53
| | | | | | | - layout models pending-wrap, so a prompt that fills a row exactly no longer clears the line above on the next redraw - the renderer closes a reasoning block with a newline only when it needs one - renderer is generic over Write, with tests for the line-break rules
* 0.4.3: kill process groups, bound bash output, keep the key out of tool envsalmonik9 days1-1/+12
| | | | | | | - setsid-style process group kill on timeout and on Ctrl-C - 64 MiB RLIMIT_FSIZE so a runaway command cannot fill /tmp - OPENCODE_API_KEY removed from child environment - sessions 0600/0700, history 0600 and trimmed
* 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