From 371027a85f44470880b1436d59fa97774e9c8642 Mon Sep 17 00:00:00 2001 From: salmonik Date: Sun, 15 Nov 2026 17:43:11 +0100 Subject: 0.6.1: redraw from the caret row, not the block height 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. --- CHANGELOG.md | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fd94b9..d33608d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,17 @@ break the interface, **PATCH** for bug fixes. file, and the tool schemas the model sees. Anything a script or a resumed session could depend on counts as API. +## 0.6.1 + +### Fixed +- The redraw moved up by the number of rows the prompt block occupied, but the + caret can be on any of those rows. With a two-line prompt and the caret moved + up (Home, Left, Up-history), the next redraw overshot by a row and cleared the + line above the prompt — usually the model's previous output. The editor now + tracks which row the caret is on and moves up by that. +- Added `scripts/ux-check.sh`: drives the editor inside tmux and asserts on the + rendered screen. Byte-level tests could not see this class of bug. + ## 0.6.0 ### Added -- cgit v1.2.3