Skip to content

Grapheme Cluster Cursor Movement โ€‹

Category: unicode ยท Tags: Unicode ยท Specification โ†—

Cursor movement (CUF/CUB) should respect grapheme cluster boundaries. Moving the cursor back over a ZWJ emoji sequence should skip the entire sequence, not individual codepoints. Many terminals still move by codepoint rather than grapheme cluster.
How this is tested: Write an emoji ZWJ sequence, move cursor back by 1, verify cursor position.
Analysis2026-03-26

Supported by 3 of 8 terminals (38%). Not supported by: Kitty, Terminal.app, Warp, Cursor, VS Code. Part of the Unicode baseline.

Supported by 7 of 13 backends (54%)

Terminal Applications โ€‹

TerminalVersionSupportNotes
iTerm23.6.9โœ“ yes
Ghostty1.3.1โœ“ yes
tmux3.6aโœ“ yes
VS Code1.112.0โœ— nowidth=6, expected 2
Warp0.2026.03.18.08.24.03โœ— nowidth=6, expected 2
Cursor2.6.21โœ— nowidth=6, expected 2
Kitty0.46.2โœ— nowidth=8, expected 2
Terminal.app2.15โœ— nowidth=8, expected 2
GNU Screen5.0.1โœ— noScreen 4.x does not support grapheme cluster cursor positioning

Headless Backends โ€‹

Parser correctness only โ€” a โœ“ means the parser accepts the sequence.

BackendVersionSupportNotes
Alacritty0.26.0โœ“ yes
vt1000.2.1โœ“ yes
vterm0.2.0โœ“ yes
WezTerm0.1.0-fork.5โœ“ yes

Powered by Termless
Playwright for Terminals