Remove change state event interface

Part of #127717
This commit is contained in:
Daniel Imms
2021-08-19 14:40:33 -07:00
parent a64f66fe42
commit 23760f5234
3 changed files with 5 additions and 22 deletions

View File

@@ -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);
}
}));