mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-03 07:44:02 +01:00
terminal: fix wrong typeahead rgb codes
Fixes https://github.com/microsoft/vscode/issues/109592
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user