▍ humdrum codex / glint v1.0.2
license AGPL-3.0

← issues

TASK-005 Canvas measures tabs/CJK/emoji as rune count, not display cells

🟦 Backlog bug priority: low release-2

created 2026-06-28 18:38 · updated 2026-06-30 00:22

Description

wrapLine and visualColOf measure in runes, not terminal display width. A \t (KeyTab) or wide rune (CJK/emoji) wraps and positions the cursor cell by the wrong column. Pre-existing approach, now load-bearing for the canvas layout. Will surface on tab-indented code blocks or CJK text. Use a display-width (e.g. go-runewidth / uniseg) measure for wrapping + cursor placement.

Acceptance Criteria