Skip to content

Commit 4a80f60

Browse files
committed
Fix quick fixes on Windows
Now the command finished event will fire right before command started which means we don't need this extra await anymore. Fixes microsoft#199448
1 parent 57c5e37 commit 4a80f60

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFixAddon.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -189,14 +189,6 @@ export class TerminalQuickFixAddon extends Disposable implements ITerminalAddon,
189189
this._disposeQuickFix(this._lastQuickFixId, false);
190190
}
191191

192-
193-
// Wait for the next command to start to ensure the quick fix marker is created on the next
194-
// prompt line
195-
const commandDetection = this._capabilities.get(TerminalCapability.CommandDetection);
196-
if (commandDetection) {
197-
await Event.toPromise(commandDetection.onCommandStarted);
198-
}
199-
200192
const resolver = async (selector: ITerminalQuickFixOptions, lines?: string[]) => {
201193
if (lines === undefined) {
202194
return undefined;

0 commit comments

Comments
 (0)