File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/vs/platform/terminal/common/capabilities Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -555,7 +555,7 @@ class UnixPtyHeuristics extends Disposable {
555
555
const enum AdjustCommandStartMarkerConstants {
556
556
MaxCheckLineCount = 10 ,
557
557
Interval = 20 ,
558
- MaximumPollCount = 50 ,
558
+ MaximumPollCount = 10 ,
559
559
}
560
560
561
561
/**
@@ -736,7 +736,7 @@ class WindowsPtyHeuristics extends Disposable {
736
736
}
737
737
if ( scannedLineCount < AdjustCommandStartMarkerConstants . MaxCheckLineCount ) {
738
738
this . _tryAdjustCommandStartMarkerScannedLineCount = scannedLineCount ;
739
- if ( this . _tryAdjustCommandStartMarkerPollCount < AdjustCommandStartMarkerConstants . MaximumPollCount ) {
739
+ if ( ++ this . _tryAdjustCommandStartMarkerPollCount < AdjustCommandStartMarkerConstants . MaximumPollCount ) {
740
740
this . _tryAdjustCommandStartMarkerScheduler ?. schedule ( ) ;
741
741
} else {
742
742
this . _flushPendingHandleCommandStartTask ( ) ;
You can’t perform that action at this time.
0 commit comments