未验证 提交 dff9be8c 编写于 作者: C Connor Peet

terminal: fix wrong typeahead rgb codes

Fixes https://github.com/microsoft/vscode/issues/109592
上级 41eb9e0c
...@@ -855,7 +855,7 @@ const parseTypeheadStyle = (style: string | number) => { ...@@ -855,7 +855,7 @@ const parseTypeheadStyle = (style: string | number) => {
} }
const { r, g, b } = Color.fromHex(style).rgba; 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 { export class TypeAheadAddon extends Disposable implements ITerminalAddon {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册