mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-06-13 07:10:26 +08:00
Use TerminalRenderer.show over deprecated .terminal
Part of Microsoft/vscode#67923
This commit is contained in:
@ -160,7 +160,7 @@ export function activate(context: vscode.ExtensionContext) {
|
||||
line += data;
|
||||
shell.write(data);
|
||||
});
|
||||
shell.terminal.show();
|
||||
shell.show();
|
||||
}));
|
||||
context.subscriptions.push(vscode.commands.registerCommand('terminalTest.maximumDimensions', () => {
|
||||
renderer.maximumDimensions.then(dimensions => {
|
||||
|
||||
Reference in New Issue
Block a user