GVT-12 Draw emoji whole and at their width in rows, prompt and titles #102

Merged
merge-queue merged 1 commit from GVT-12-grapheme-rows into main 2026-11-17 08:10:54 -08:00
Owner

Rows, the search box, the command-output panel, border titles and labels drew text one rune per column, so a skin-toned or joined emoji split into pieces and every emoji pushed the rest of its row one column right. They now draw one grapheme cluster per cell through drawClusters, each as wide as fzt v0.2.118's core.Width says, keeping match highlights and ANSI styles on their runes. The caret and the description column count columns, the search box scrolls by columns, and the key pop-up copies the faded frame through MemScreen.Cell. Nerd Font icons keep their two-cell slot in titles; rows are unchanged for them.

New tests: emoji rows draw whole with their descriptions aligned, an emoji title, and the caret moving two columns for an emoji. Both fail on main. fzt-automate's tests pass against this branch.

PR 2 of 3 for the gvoice-tui emoji palette command (fzt, fzt-terminal, gvoice-tui).

Work package: https://openproject.home.romaine.life/wp/GVT-12

Rows, the search box, the command-output panel, border titles and labels drew text one rune per column, so a skin-toned or joined emoji split into pieces and every emoji pushed the rest of its row one column right. They now draw one grapheme cluster per cell through drawClusters, each as wide as fzt v0.2.118's core.Width says, keeping match highlights and ANSI styles on their runes. The caret and the description column count columns, the search box scrolls by columns, and the key pop-up copies the faded frame through MemScreen.Cell. Nerd Font icons keep their two-cell slot in titles; rows are unchanged for them. New tests: emoji rows draw whole with their descriptions aligned, an emoji title, and the caret moving two columns for an emoji. Both fail on main. fzt-automate's tests pass against this branch. PR 2 of 3 for the gvoice-tui emoji palette command (fzt, fzt-terminal, gvoice-tui). Work package: https://openproject.home.romaine.life/wp/GVT-12
GVT-12 Draw text one grapheme cluster per cell, as wide as the terminal shows it
All checks were successful
Suite release / reused-checks (push) Has been skipped
Suite release / home-sync (push) Has been skipped
Suite release / publish (push) Has been skipped
Suite release / dispatch (push) Has been skipped
Suite release / deploy-image (push) Has been skipped
Suite default / scope (pull_request) Successful in 11s
Suite default / check-fetches (pull_request) Has been skipped
Suite default / check-rules (pull_request) Has been skipped
Suite go / scope (pull_request) Successful in 9s
Suite go / check-test-linux (pull_request) Has been skipped
Suite go / check-services (pull_request) Has been skipped
Suite release / scope (pull_request) Successful in 11s
Suite release / module (pull_request) Has been skipped
Suite release / reserve (pull_request) Has been skipped
Suite release / build (go, ubuntu-latest) (, go, false, ubuntu-latest, , go) (pull_request) Has been skipped
Suite release / build (go, windows-amd64-c-shared) (, go-windows-amd64-c-shared, false, windows-latest, windows-amd64-c-shared, go) (pull_request) Has been skipped
Suite release / finalize (pull_request) Has been skipped
Suite release / home-sync (pull_request) Has been skipped
Suite release / publish (pull_request) Has been skipped
Suite release / dispatch (pull_request) Has been skipped
Suite release / deploy-image (pull_request) Has been skipped
Suite default / reused-checks (pull_request) Successful in 10s
Suite release / check-build (go, windows-amd64-c-shared) (, go-windows-amd64-c-shared, false, windows-latest, windows-amd64-c-shared, go) (pull_request) Successful in 1m53s
Suite go / check-test-windows (pull_request) Successful in 2m0s
Suite go / check-format (pull_request) Successful in 1m29s
Suite release / check-build (go, ubuntu-latest) (, go, false, ubuntu-latest, , go) (pull_request) Successful in 2m2s
merge-queue landed on main
Suite go / reused-checks (pull_request) Successful in 19s
Suite release / check-package (pull_request) Successful in 24s
Suite release / reused-checks (pull_request) Successful in 9s
7492aa0923
merge-queue deleted branch GVT-12-grapheme-rows 2026-11-17 08:10:54 -08:00
nelson referenced this pull request from a commit 2026-11-17 08:14:37 -08:00
Sign in to join this conversation.
No description provided.