Skip to content

fix(client): optimize iOS text presentation handling#55

Merged
gbasin merged 1 commit intogbasin:masterfrom
andrewting19:fix/ios-text-presentation-perf
Feb 10, 2026
Merged

fix(client): optimize iOS text presentation handling#55
gbasin merged 1 commit intogbasin:masterfrom
andrewting19:fix/ios-text-presentation-perf

Conversation

@andrewting19
Copy link
Contributor

What

  • Avoids per-chunk per-character string concatenation in forceTextPresentation()
  • Applies the text-presentation workaround only on iOS/iPadOS (where the emoji rendering issue occurs)

Why

High-throughput terminal output was spending significant main-thread time rewriting every chunk. This change keeps the iOS rendering fix but makes it essentially free on non-iOS and much cheaper on iOS.

Test Plan

  • bun run lint
  • bun run typecheck
  • bun run test

@gbasin gbasin merged commit f4f46e3 into gbasin:master Feb 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants