pass in escape sequence with ESC notation"
This commit is contained in:
@@ -224,7 +224,7 @@ export class Terminal extends CoreTerminal implements ITerminal {
|
|||||||
const channels = color.toColorRGB(acc === 'ansi'
|
const channels = color.toColorRGB(acc === 'ansi'
|
||||||
? this._colorManager.colors.ansi[req.index]
|
? this._colorManager.colors.ansi[req.index]
|
||||||
: this._colorManager.colors[acc]);
|
: 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;
|
break;
|
||||||
case ColorRequestType.SET:
|
case ColorRequestType.SET:
|
||||||
if (acc === 'ansi') this._colorManager.colors.ansi[req.index] = rgba.toColor(...req.color);
|
if (acc === 'ansi') this._colorManager.colors.ansi[req.index] = rgba.toColor(...req.color);
|
||||||
|
|||||||
@@ -119,8 +119,6 @@ export namespace C1 {
|
|||||||
export const DCS = '\x90';
|
export const DCS = '\x90';
|
||||||
/** Private Use 1 */
|
/** Private Use 1 */
|
||||||
export const PU1 = '\x91';
|
export const PU1 = '\x91';
|
||||||
/** String Terminator */
|
|
||||||
export const ST = '\x912';
|
|
||||||
/** Private Use 2 */
|
/** Private Use 2 */
|
||||||
export const PU2 = '\x92';
|
export const PU2 = '\x92';
|
||||||
/** Set Transmit State */
|
/** Set Transmit State */
|
||||||
|
|||||||
Reference in New Issue
Block a user