From 3a9ab2e9673b5ba0aee5d4f3566282e26d908ee4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B2=E5=85=B4=E5=87=AF?= Date: Thu, 9 Jan 2025 15:08:46 +0800 Subject: [PATCH] feat: terminalOptions color modification restore --- packages/terminal-next/src/common/pty.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/terminal-next/src/common/pty.ts b/packages/terminal-next/src/common/pty.ts index d9d44225e4..ea427cc27d 100644 --- a/packages/terminal-next/src/common/pty.ts +++ b/packages/terminal-next/src/common/pty.ts @@ -268,7 +268,7 @@ export interface TerminalOptions { * The `terminal.ansi*` theme keys are * recommended for the best contrast and consistency across themes. */ - color?: string | vscode.ThemeColor; + color?: vscode.ThemeColor; /** * @deprecated Use `ICreateClientWithWidgetOptions.closeWhenExited` instead. Will removed in 2.17.0