PowerShell / PSReadLine

A bash inspired readline implementation for PowerShell
BSD 2-Clause "Simplified" License
3.75k stars 296 forks source link

virtural network issue #840

Closed JTSBTSENT closed 5 years ago

JTSBTSENT commented 5 years ago

Environment data

Steps to reproduce or exception report

JTSBTSENT commented 5 years ago

Last 169 Keys:

JTSBTSENT commented 5 years ago

Last 169 Keys:

 Enter
 < # Enter
 Space . S Y N O P I S Enter
 Enter
 Space . D E S C R I P T I O N Enter
 Space Space Space Space D E Backspace e p l o y s Space a n Space A zu r e Space R e s o u r e x Backspace c Backspace Backspace s Backspace c e Space M a n a g e r Space t e m p l a t e Enter
 Enter
 Enter
 Space Space Space Space 3 f 7 d 6 f 4 a - b 2 d c - 4 f d d - 8 b 1 7- 9 d 2 8 d b f c f 7 b 7 Enter
 Enter
 Enter
 Enter
 Enter
 3 f 7 d 6 f 4 a - b 2 d c - 4 f d d - 8 b 1 7 - 9 d 2 8 d b f c f 7 b7

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 -5.
   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.Insert(Char c)
   at Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(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)

Azure:/ PS Azure:> <#

.SYNOPIS

.DESCRIPTION Deploys an Azure Resource Manager template

3f7d6f4a-b2dc-4fdd-8b17-9d28dbfcf7b7

3f7d6f4a-b2dc-4fdd-8b17-9d28dbfcf7 Oops, something went wrong. Please report this bug with the details below. Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new

Last 169 Keys:

Enter
< # Enter
Space . S Y N O P I S Enter
Enter
Space . D E S C R I P T I O N Enter
Space Space Space Space D E Backspace e p l o y s Space a n Space A zu r e Space R e s o u r e x Backspace c Backspace Backspace s Backspace c e Space M a n a g e r Space t e m p l a t e Enter
Enter
Enter
Space Space Space Space 3 f 7 d 6 f 4 a - b 2 d c - 4 f d d - 8 b 1 7- 9 d 2 8 d b f c f 7 b 7 Enter
Enter
Enter
Enter
Enter
3 f 7 d 6 f 4 a - b 2 d c - 4 f d d - 8 b 1 7 - 9 d 2 8 d b f c f 7 b7

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 -5.
   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.Insert(Char c)
   at Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(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)

Azure:/ PS Azure:> <#

.SYNOPIS

.DESCRIPTION Deploys an Azure Resource Manager template

3f7d6f4a-b2dc-4fdd-8b17-9d28dbfcf7b7

3f7d6f4a-b2dc-4fdd-8b17-9d28dbfcf7b Oops, something went wrong. Please report this bug with the details below. Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new