emojiPresentationWidth top-level property
Runtime configuration for width calculations that depend on terminal behavior.
Some terminals render emoji as 1 cell wide, others as 2. Our cell-buffer renderer needs to match the terminal’s behavior to avoid overwriting graphemes during incremental updates.
Default is 2 (Unicode wide emoji behavior).
Implementation
int emojiPresentationWidth = 2;