You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Oops, something went wrong. Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new
-----------------------------------------------------------------------
Last 200 Keys:
; Enter
Tab Tab Tab } Enter
Tab Tab Tab e l s e Enter
Tab Tab Tab { Enter
Tab Tab Tab Tab U n i n s t a l l - M o d u l e Space - N a m e Space $ m o d u l e . n a m e Space - R e q u i r e d V e r s i o n Space $ m o d u l e . v e r s i o n Space - F o r c e : $ F o r c e Space - E r r o r A c t i o n Space S t o p Enter
Tab Tab Tab } Enter
Tab Tab } Enter
Tab Tab c a t c h Enter
Tab Tab { Enter
Tab Tab Tab W r i t e - H o s t Space ( " ` t " Space + Space $ _ . E x c e p t i o n . M e s s a g e ) Enter
Tab Tab } Enter
Tab } Enter
} Enter
Enter
Exception:
System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension.
Parameter name: top
Actual value was -7.
at System.Console.SetCursorPosition(Int32 left, Int32 top)
at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
at Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
at Microsoft.PowerShell.PSConsoleReadLine.AcceptLineImpl(Boolean validate)
at Microsoft.PowerShell.PSConsoleReadLine.AcceptLine(Nullable1 key, Object arg) at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics, CancellationToken cancellationToken)
The text was updated successfully, but these errors were encountered:
MaximoTrinidad
changed the title
PSCore 6.1.0-GA Ubuntu Ctrl-V large code giving System.ArgumentOutOfRangeException.
PSCore 6.1.0-GA Linux and MacOS Ctrl-V large code giving System.ArgumentOutOfRangeException.
Nov 10, 2018
Environment data
Linux - Ubuntu 18.04
MacOS High Sierra
Steps to reproduce or exception report
Copy/Paste a modified code code from the following link: https://docs.microsoft.com/en-us/powershell/azure/uninstall-azurerm-ps?view=azurermps-6.12.0.
It will generate the following error:
; Enter
Tab Tab Tab } Enter
Tab Tab Tab e l s e Enter
Tab Tab Tab { Enter
Tab Tab Tab Tab U n i n s t a l l - M o d u l e Space - N a m e Space $ m o d u l e . n a m e Space - R e q u i r e d V e r s i o n Space $ m o d u l e . v e r s i o n Space - F o r c e : $ F o r c e Space - E r r o r A c t i o n Space S t o p Enter
Tab Tab Tab } Enter
Tab Tab } Enter
Tab Tab c a t c h Enter
Tab Tab { Enter
Tab Tab Tab W r i t e - H o s t Space ( " ` t " Space + Space $ _ . E x c e p t i o n . M e s s a g e ) Enter
Tab Tab } Enter
Tab } Enter
} Enter
Enter
System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension.
Parameter name: top
Actual value was -7.
at System.Console.SetCursorPosition(Int32 left, Int32 top)
at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
at Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
at Microsoft.PowerShell.PSConsoleReadLine.AcceptLineImpl(Boolean validate)
at Microsoft.PowerShell.PSConsoleReadLine.AcceptLine(Nullable
1 key, Object arg) at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary
2 dispatchTable, Boolean ignoreIfNoAction, Object arg)at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics, CancellationToken cancellationToken)
The text was updated successfully, but these errors were encountered: