[READ-ONLY] Mirror of https://github.com/bombshell-dev/tty. Platform independent 2D layout engine for terminal applications based on Clay bomb.sh/docs/tty
Something went wrong. Try again.
🐛 fix anchor eviction in single-line buffer + document columns precondition master
Fix two blocking issues before merge: 1. When maxLines=1 and isAtBottom=false, evicting the anchor line left the anchor pointing at a gone lineIndex. resolveViewport() returned no entries from a non-empty buffer. Removed the `lineCount > 1` guard so the anchor always clamps to `evictedLineIndex + 1`. Added regression test R.EVICT.maxLines1-not-at-bottom. 2. Resolved the contradiction between O-9 ("every slice fits within columns") and the columns=1 + width-2 CJK glyph behavior. Documented columns ≥ max glyph width as a precondition on VirtualizerOptions, updated O-9 test name, wrap-golden test labels, and the spec.
Author Taras Mankovski Date (Apr 11, 2026, 11:04 AM UTC) Commit bb48b92b bb48b92b309e3963a89519754ebdc0d3d18011cf Parent 90110cdd 90110cdd9439fac95e1af7fae6ab330c3dc3198d