File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
src/vs/workbench/contrib/terminal/browser Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -213,7 +213,6 @@ export class CommandDetectionCapability implements ICommandDetectionCapability {
213
213
this . _logService . debug ( 'CommandDetectionCapability#onCommandFinished' , newCommand ) ;
214
214
this . _onCommandFinished . fire ( newCommand ) ;
215
215
}
216
- this . _currentCommand . previousCommandMarker ?. dispose ( ) ;
217
216
this . _currentCommand . previousCommandMarker = this . _currentCommand . commandStartMarker ;
218
217
this . _currentCommand = { } ;
219
218
}
Original file line number Diff line number Diff line change @@ -815,7 +815,7 @@ export class TerminalInstance extends Disposable implements ITerminalInstance {
815
815
description,
816
816
id : entry . timestamp . toString ( ) ,
817
817
command : entry ,
818
- buttons : ( ! entry . endMarker ?. isDisposed && ! entry . marker ?. isDisposed && ( entry . endMarker ! . line - entry . marker ! . line > 0 ) ) ? buttons : undefined
818
+ buttons : entry . hasOutput ? buttons : undefined
819
819
} ) ;
820
820
commandMap . add ( label ) ;
821
821
}
You can’t perform that action at this time.
0 commit comments