Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAditya <adityashnkr5@gmail.com>2019-05-23 22:36:51 +0300
committerRich Trott <rtrott@gmail.com>2019-09-16 07:54:58 +0300
commit70abb4ffe40c8526c5415c02c20b7b3a3cdbacd2 (patch)
tree0a53274a87d6d7d43c2818c2c0087be952a3e53c /lib/internal/tty.js
parent627bb6bf8716131c942ea8a274390d09d1984923 (diff)
tty: add color support for mosh
PR-URL: https://github.com/nodejs/node/pull/27843 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'lib/internal/tty.js')
-rw-r--r--lib/internal/tty.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/internal/tty.js b/lib/internal/tty.js
index fc7bde72455..6fd14145fcc 100644
--- a/lib/internal/tty.js
+++ b/lib/internal/tty.js
@@ -53,6 +53,7 @@ const TERM_ENVS = {
'konsole': COLORS_16,
'kterm': COLORS_16,
'mlterm': COLORS_16,
+ 'mosh': COLORS_16m,
'putty': COLORS_16,
'st': COLORS_16,
// https://github.com/da-x/rxvt-unicode/tree/v9.22-with-24bit-color