File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -541,14 +541,14 @@ private string InputLoop()
541
541
}
542
542
if ( moveToLineCommandCount == _moveToLineCommandCount )
543
543
{
544
- _moveToLineCommandCount = 0 ;
545
-
546
- if ( InViCommandMode ( ) && moveToEndOfLineCommandCount == _moveToEndOfLineCommandCount )
547
- {
548
- // the previous command was neither a "move to end of line" command
549
- // nor a "move to line" command. In that case, the desired column
550
- // number will be computed from the current position on the logical line.
551
-
544
+ _moveToLineCommandCount = 0 ;
545
+
546
+ if ( InViCommandMode ( ) && moveToEndOfLineCommandCount == _moveToEndOfLineCommandCount )
547
+ {
548
+ // the previous command was neither a "move to end of line" command
549
+ // nor a "move to line" command. In that case, the desired column
550
+ // number will be computed from the current position on the logical line.
551
+
552
552
_moveToLineDesiredColumn = - 1 ;
553
553
}
554
554
}
@@ -844,7 +844,7 @@ private void DelayedOneTimeInitialize()
844
844
} ;
845
845
}
846
846
847
- _singleton . _readKeyThread = new Thread ( _singleton . ReadKeyThreadProc ) { IsBackground = true } ;
847
+ _singleton . _readKeyThread = new Thread ( _singleton . ReadKeyThreadProc ) { IsBackground = true , Name = "PSReadLine ReadKey Thread" } ;
848
848
_singleton . _readKeyThread . Start ( ) ;
849
849
}
850
850
You can’t perform that action at this time.
0 commit comments