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()
541541 }
542542 if ( moveToLineCommandCount == _moveToLineCommandCount )
543543 {
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+
552552 _moveToLineDesiredColumn = - 1 ;
553553 }
554554 }
@@ -844,7 +844,7 @@ private void DelayedOneTimeInitialize()
844844 } ;
845845 }
846846
847- _singleton . _readKeyThread = new Thread ( _singleton . ReadKeyThreadProc ) { IsBackground = true } ;
847+ _singleton . _readKeyThread = new Thread ( _singleton . ReadKeyThreadProc ) { IsBackground = true , Name = "PSReadLine ReadKey Thread" } ;
848848 _singleton . _readKeyThread . Start ( ) ;
849849 }
850850
You can’t perform that action at this time.
0 commit comments