pass in escape sequence with ESC notation"

This commit is contained in:
meganrogge
2022-03-23 12:54:19 -04:00
parent dfe35a93d5
commit 078d88fbbe
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -224,7 +224,7 @@ export class Terminal extends CoreTerminal implements ITerminal {
const channels = color.toColorRGB(acc === 'ansi'
? this._colorManager.colors.ansi[req.index]
: this._colorManager.colors[acc]);
this.coreService.triggerDataEvent(`${C0.ESC}]${ident};${toRgbString(channels)}${C1.ST}`);
this.coreService.triggerDataEvent(`${C0.ESC}]${ident};${toRgbString(channels)}ESC \9c`);
break;
case ColorRequestType.SET:
if (acc === 'ansi') this._colorManager.colors.ansi[req.index] = rgba.toColor(...req.color);
-2
View File
@@ -119,8 +119,6 @@ export namespace C1 {
export const DCS = '\x90';
/** Private Use 1 */
export const PU1 = '\x91';
/** String Terminator */
export const ST = '\x912';
/** Private Use 2 */
export const PU2 = '\x92';
/** Set Transmit State */