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 {
213213 this . _logService . debug ( 'CommandDetectionCapability#onCommandFinished' , newCommand ) ;
214214 this . _onCommandFinished . fire ( newCommand ) ;
215215 }
216- this . _currentCommand . previousCommandMarker ?. dispose ( ) ;
217216 this . _currentCommand . previousCommandMarker = this . _currentCommand . commandStartMarker ;
218217 this . _currentCommand = { } ;
219218 }
Original file line number Diff line number Diff line change @@ -815,7 +815,7 @@ export class TerminalInstance extends Disposable implements ITerminalInstance {
815815 description,
816816 id : entry . timestamp . toString ( ) ,
817817 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
819819 } ) ;
820820 commandMap . add ( label ) ;
821821 }
You can’t perform that action at this time.
0 commit comments