mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 00:59:03 +01:00
@@ -233,7 +233,7 @@ import { assertNoRpc } from '../utils';
|
||||
deepStrictEqual(terminal.state, { interactedWith: false });
|
||||
const eventState = await new Promise<TerminalState>(r => {
|
||||
disposables.push(window.onDidChangeTerminalState(e => {
|
||||
if (e.terminal === terminal) {
|
||||
if (e === terminal) {
|
||||
r(e.state);
|
||||
}
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user