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>
This commit is contained in:
Aditya 2019-05-24 01:06:51 +05:30 committed by Rich Trott
parent 627bb6bf87
commit 70abb4ffe4

View File

@ -53,6 +53,7 @@ const TERM_ENVS = {
'konsole': COLORS_16, 'konsole': COLORS_16,
'kterm': COLORS_16, 'kterm': COLORS_16,
'mlterm': COLORS_16, 'mlterm': COLORS_16,
'mosh': COLORS_16m,
'putty': COLORS_16, 'putty': COLORS_16,
'st': COLORS_16, 'st': COLORS_16,
// https://github.com/da-x/rxvt-unicode/tree/v9.22-with-24bit-color // https://github.com/da-x/rxvt-unicode/tree/v9.22-with-24bit-color