Expose ‘true colour’ support in $COLORTERM (#2484)

Further discussion here: <gist.github.com/XVilka/8346728#detection>
This commit is contained in:
CHaBou 2017-11-22 14:29:07 +01:00 committed by GitHub
parent 9bc5a004a1
commit 1d2b7818ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,6 +31,7 @@ module.exports = class Session extends EventEmitter {
{ {
LANG: app.getLocale().replace('-', '_') + '.UTF-8', LANG: app.getLocale().replace('-', '_') + '.UTF-8',
TERM: 'xterm-256color', TERM: 'xterm-256color',
COLORTERM: 'truecolor',
TERM_PROGRAM: productName, TERM_PROGRAM: productName,
TERM_PROGRAM_VERSION: version TERM_PROGRAM_VERSION: version
}, },