Skip to content

Add better emoji support for unknown terminals.#2279

Merged
fnando merged 2 commits intomainfrom
vhs-emojis
Nov 6, 2025
Merged

Add better emoji support for unknown terminals.#2279
fnando merged 2 commits intomainfrom
vhs-emojis

Conversation

@fnando
Copy link
Copy Markdown
Member

@fnando fnando commented Nov 6, 2025

What

Running VHS in a docker container prints the wrong emoji spacing. $TERM_PROGRAM is not set at all when running with ttyd (the thing vhs uses), so we can default to unknown. Worse case scenario, people will see an additional space (but I believe all real terminals set that).

Before fix:

005-without-fix.mp4

After fix:

005-with-fix.mp4

Why

So we can have better emoji support.

Known limitations

N/A

@github-project-automation github-project-automation bot moved this to Backlog (Not Ready) in DevX Nov 6, 2025
@fnando fnando requested a review from leighmcculloch November 6, 2025 05:52
@fnando fnando self-assigned this Nov 6, 2025
@fnando fnando added the enhancement New feature or request label Nov 6, 2025
@fnando fnando moved this from Backlog (Not Ready) to Needs Review in DevX Nov 6, 2025
Copy link
Copy Markdown
Member

@leighmcculloch leighmcculloch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏🏻

I think some tests need updating.

Comment thread cmd/soroban-cli/src/print.rs Outdated
@fnando fnando enabled auto-merge (squash) November 6, 2025 16:49
@fnando fnando merged commit 6f9bdd5 into main Nov 6, 2025
29 of 30 checks passed
@fnando fnando deleted the vhs-emojis branch November 6, 2025 16:58
@github-project-automation github-project-automation bot moved this from Needs Review to Done in DevX Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants