Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing emoji support for VSCode #207

Open
Sofahamster opened this issue Mar 1, 2024 · 0 comments
Open

Missing emoji support for VSCode #207

Sofahamster opened this issue Mar 1, 2024 · 0 comments

Comments

@Sofahamster
Copy link

Issue

The current detection of emoji support on Windows (wants_emoji() in windows_term/mod.rs) only works for Windows Terminal.

It would be nice if the integrated terminal of VSCode would be detected and supported. The VSCode terminal has unicode and emoji support similar to Windows Terminal.

Workaround

A workaround exists by manually setting the "WT_SESSION" environment variable, but that seems like a bad hack.

Suggested solution

VSCode already sets the environment variable "TERM_PROGRAM" to the value "vscode". This value could be checked in the wants_emoji() function to enable emoji support for VSCode.

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

No branches or pull requests

1 participant