-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathis-unicode-supported.node.txt
18 lines (15 loc) · 1.26 KB
/
is-unicode-supported.node.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
┏━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ IS-UNICODE-SUPPORTED ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━┛
VERSION ==> #2.1.0
IS-UNICODE-SUPPORTED()->BOOL #Rough detection of Unicode character support in terminals. True if:
# - any non-Windows terminal, except:
# - Linux console (kernel)
# - Windows terminal (using ENVVAR WT_SESSION)
# - xterm.js VSCode (using ENVVAR TERM_PROGRAM 'vscode')
# - Terminus (using ENVVAR TERMINUS_SUBLIME)
# - JetBrains terminal (using ENVVAR TERMINAL_EMULATOR 'JetBrains-JediTerm')
# - ConEmu|cmder (using ENVVAR ConEmuTask '{cmd::Cmder}')
# - alacritty (using ENVVAR TERM 'alacritty')
# - rxvt (using ENVVAR TERM 'rxvt-unicode[-256color]')
# - ENVVAR TERM 'xterm-256color'