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

Should TERM_PROGRAM be set? #702

Closed
DRSDavidSoft opened this issue Mar 4, 2019 · 0 comments
Closed

Should TERM_PROGRAM be set? #702

DRSDavidSoft opened this issue Mar 4, 2019 · 0 comments

Comments

@DRSDavidSoft
Copy link

Description Feature Request

The TERM_PROGRAM environment variable is set by Hyper, VS Code, and a couple of other apps (like iTerm 2) to inform the script of the terminal emulator program.

In turn, Yarn, neofetch and neovim use this variable to:

  • Yarn: display emojis on Hyper and macOS terminals
  • neofetch: identify the terminal emulator program
  • neovim: address terminal emulator capabilities and bugs

This is a pretty non-standard feature, but Hyper sets it, and Yarn happily uses it to display emojis on Windows.
Since Terminus also uses xterm.js, would it be proper to set the TERM_PROGRAM to terminus by default?

Here's a summary of other terminals support:
Maximus5/ConEmu#1837 (comment)

Demo

Notice the emoji on the last line:
wmoj

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants