Skip to content

Commit 09a4bde

Browse files
committed
attempt to fix microsoft#45025
1 parent d4c5873 commit 09a4bde

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/vs/workbench/parts/debug/electron-browser/terminalSupport.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,13 @@ export class TerminalSupport {
4343
terminalService.showPanel(true);
4444

4545
const command = this.prepareCommand(args, configurationService);
46-
t.sendText(command, true);
4746

48-
return TPromise.as(void 0);
47+
return new TPromise((resolve, error) => {
48+
setTimeout(_ => {
49+
t.sendText(command, true);
50+
resolve(void 0);
51+
}, 500);
52+
});
4953
}
5054

5155
private static isBusy(t: ITerminalInstance): boolean {

0 commit comments

Comments
 (0)