terminal: fix wrong typeahead rgb codes

Fixes https://github.com/microsoft/vscode/issues/109592
This commit is contained in:
Connor Peet
2020-10-28 10:28:53 -07:00
parent 41eb9e0c4f
commit dff9be8c95
@@ -855,7 +855,7 @@ const parseTypeheadStyle = (style: string | number) => {
}
const { r, g, b } = Color.fromHex(style).rgba;
return `${CSI}32;${r};${g};${b}m`;
return `${CSI}38;2;${r};${g};${b}m`;
};
export class TypeAheadAddon extends Disposable implements ITerminalAddon {