From 80204505be67fb36fb8ebbf104238766388b13fe Mon Sep 17 00:00:00 2001 From: Aditya Date: Fri, 24 May 2019 01:06:51 +0530 Subject: [PATCH 1/5] lib: add color support for mosh --- lib/internal/tty.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/internal/tty.js b/lib/internal/tty.js index fc7bde724552d5..48ecfcf8484328 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_256 'putty': COLORS_16, 'st': COLORS_16, // https://github.com/da-x/rxvt-unicode/tree/v9.22-with-24bit-color From 43ae57eeef7db9301d2f61aedb1eb68e5175c355 Mon Sep 17 00:00:00 2001 From: Aditya Date: Fri, 24 May 2019 01:09:02 +0530 Subject: [PATCH 2/5] lib: add comma in the object --- lib/internal/tty.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/tty.js b/lib/internal/tty.js index 48ecfcf8484328..b00f8d1ccf21cf 100644 --- a/lib/internal/tty.js +++ b/lib/internal/tty.js @@ -53,7 +53,7 @@ const TERM_ENVS = { 'konsole': COLORS_16, 'kterm': COLORS_16, 'mlterm': COLORS_16, - 'mosh' : COLORS_256 + 'mosh' : COLORS_256, 'putty': COLORS_16, 'st': COLORS_16, // https://github.com/da-x/rxvt-unicode/tree/v9.22-with-24bit-color From f020e1c5c082508d6f01e3d5b77d199fa561dbeb Mon Sep 17 00:00:00 2001 From: Aditya Date: Fri, 24 May 2019 01:20:08 +0530 Subject: [PATCH 3/5] lib: remove space after mosh key in object --- lib/internal/tty.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/tty.js b/lib/internal/tty.js index b00f8d1ccf21cf..e7860d50bec630 100644 --- a/lib/internal/tty.js +++ b/lib/internal/tty.js @@ -53,7 +53,7 @@ const TERM_ENVS = { 'konsole': COLORS_16, 'kterm': COLORS_16, 'mlterm': COLORS_16, - 'mosh' : COLORS_256, + 'mosh': COLORS_256, 'putty': COLORS_16, 'st': COLORS_16, // https://github.com/da-x/rxvt-unicode/tree/v9.22-with-24bit-color From b2a8e288f281a3cd3f36217de48fda88a46bd4d1 Mon Sep 17 00:00:00 2001 From: Aditya Date: Sat, 25 May 2019 20:02:08 +0530 Subject: [PATCH 4/5] lib: correct mosh color support --- lib/internal/tty.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/tty.js b/lib/internal/tty.js index e7860d50bec630..b850f2d23e817b 100644 --- a/lib/internal/tty.js +++ b/lib/internal/tty.js @@ -53,7 +53,7 @@ const TERM_ENVS = { 'konsole': COLORS_16, 'kterm': COLORS_16, 'mlterm': COLORS_16, - 'mosh': COLORS_256, + 'mosh': COLORS_16, 'putty': COLORS_16, 'st': COLORS_16, // https://github.com/da-x/rxvt-unicode/tree/v9.22-with-24bit-color From 1a666e5ab0c6f8a5fb333704b5d6eae9cc562c71 Mon Sep 17 00:00:00 2001 From: Aditya Date: Sat, 25 May 2019 20:03:03 +0530 Subject: [PATCH 5/5] lib: correct mosh color support --- lib/internal/tty.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/tty.js b/lib/internal/tty.js index b850f2d23e817b..6fd14145fcc12a 100644 --- a/lib/internal/tty.js +++ b/lib/internal/tty.js @@ -53,7 +53,7 @@ const TERM_ENVS = { 'konsole': COLORS_16, 'kterm': COLORS_16, 'mlterm': COLORS_16, - 'mosh': COLORS_16, + 'mosh': COLORS_16m, 'putty': COLORS_16, 'st': COLORS_16, // https://github.com/da-x/rxvt-unicode/tree/v9.22-with-24bit-color