From 1eebc384f60b73f8c0dbcd2dbcb1ce578702be46 Mon Sep 17 00:00:00 2001 From: salmonik Date: Sun, 15 Nov 2026 17:46:47 +0100 Subject: 0.6.2: resizing no longer duplicates the prompt 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. --- docs/KNOWN-ISSUES.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'docs/KNOWN-ISSUES.md') diff --git a/docs/KNOWN-ISSUES.md b/docs/KNOWN-ISSUES.md index 79ce26c..6bc72c6 100644 --- a/docs/KNOWN-ISSUES.md +++ b/docs/KNOWN-ISSUES.md @@ -44,11 +44,20 @@ bump, not a sandbox; `bash` has no sandbox by design. `--list`, `--doctor` and `--show` print for humans. A `--json` shape would let scripts consume them. +## Resize relies on the terminal reflowing + +Already-printed output belongs to the terminal: this harness never re-renders +it. Terminals that reflow their scrollback (tmux, VTE, kitty, foot, wezterm) do +the right thing on resize, and the input block follows because the caret moves +with the text. xterm does not reflow; there a resize can leave the prompt +misplaced until you press Enter or Ctrl-C. Making it independent of the terminal +would mean owning the screen (alt-screen TUI) or clearing and re-rendering the +transcript, which loses scrollback. + ## Editor gaps -Wide characters, combining marks and tabs are now measured correctly, and a -resize starts a fresh prompt line instead of erasing output. There is still no -Ctrl-L redraw and no Ctrl-Z suspend. +Wide characters, combining marks and tabs are measured correctly. There is still +no Ctrl-L redraw and no Ctrl-Z suspend. ## No session garbage collection -- cgit v1.2.3