Documentation
¶
Overview ¶
emojiwidth is a one-shot diagnostic that asks your terminal how many cells it actually advances the cursor for a handful of emoji glyphs. Run when fv-go renders with stray gaps or overflow on emoji-heavy rows — the report tells you which codepoints disagree between fv-go's UAX#11 width tables and your terminal's real rendering.
Usage:
go run ./cmd/emojiwidth
Must be run in an interactive terminal — it uses CSI 6n (Device Status Report) to ask the terminal where the cursor is before and after printing each glyph.
Directories
¶
| Path | Synopsis |
|---|---|
|
dump renders the demo's emoji line into a headless cellbuf and prints what each cell ends up holding.
|
dump renders the demo's emoji line into a headless cellbuf and prints what each cell ends up holding. |
|
wholewin renders the Unicode-demo window into a headless backend and prints every cell of the Emoji row plus a few cells of the surrounding rows.
|
wholewin renders the Unicode-demo window into a headless backend and prints every cell of the Emoji row plus a few cells of the surrounding rows. |
Click to show internal directories.
Click to hide internal directories.