bjoterm/tests
Linus Björnstam 95d747cf70 line-read: redraw correctly after a terminal reflows
- Each row of the input ends with a line break, so only a narrowing
  terminal that reflows moves the cursor. The layout keeps the widths of
  the items on each row, and cursor-row-after-reflow computes the
  cursor's row after the terminal wraps each row again.
- terminal-reflows? guesses from the environment. An unknown terminal
  counts as not reflowing. #:reflow? of make-line-editor overrides it.
- New tests: the model in tests/line.bjo, and tests/reflow.bjo, which
  narrows the terminal with stty under script.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 21:24:16 +01:00
..
async.bjo Async line-read, and the decoder and text handling in Bjolang 2026-11-30 21:05:59 +01:00
keys.bjo bjoterm: raw mode, key events and escape sequences 2026-11-30 20:31:29 +01:00
line-terminal.bjo bjoterm: the line editor, (bjoterm line) 2026-11-30 20:49:26 +01:00
line.bjo line-read: redraw correctly after a terminal reflows 2026-11-30 21:24:16 +01:00
reflow.bjo line-read: redraw correctly after a terminal reflows 2026-11-30 21:24:16 +01:00
terminal.bjo bjoterm: raw mode, key events and escape sequences 2026-11-30 20:31:29 +01:00
text.bjo Async line-read, and the decoder and text handling in Bjolang 2026-11-30 21:05:59 +01:00