From a05c142be27f8be9d570e60d58476143cf139d58 Mon Sep 17 00:00:00 2001 From: salmonik Date: Sun, 15 Nov 2026 17:09:59 +0100 Subject: 0.5.2: lazy-wrap redraw, and reasoning ends its own line - 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 --- CHANGELOG.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 928f05a..38d38e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,19 @@ 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.5.2 + +### Fixed +- A prompt that exactly filled a terminal row made the next redraw move up one + row too many and erase the line above it, which is usually the model's previous + output. Terminals wrap lazily: filling the last column leaves the cursor in that + column until the next character. The layout now models that, and is unit-tested + at the boundary. +- Reasoning and the answer could be written on the same line, because a reasoning + stream does not always end with a newline. The renderer now closes the reasoning + block on its own line, and does not add a blank line when the reasoning already + ended with one. The renderer is generic over its writer, so this is tested. + ## 0.5.1 ### Fixed -- cgit v1.2.3