System.ArgumentOutOfRangeException: 值必須大於或等於零,並且小於該維度中主控台的緩衝區大小。
參數名稱: left
實際的值為 -2。
於 Microsoft.PowerShell.Internal.VirtualTerminal.set_CursorLeft(Int32 value)
於 Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
於 Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
於 Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
於 Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable`1 key, Object arg)
於 Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
於 Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
於 Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)