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
System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension. (Parameter 'top')
#3216
Search the existing issues, especially the pinned issues.
Exception report
System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension. (Parameter 'top')Actual value was 58. at System.ConsolePal.SetCursorPosition(Int32 left, Int32 top) at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor) at Microsoft.PowerShell.PSConsoleReadLine.ForceRender() at Microsoft.PowerShell.PSConsoleReadLine.Render() at Microsoft.PowerShell.PSConsoleReadLine.RevertLine(Nullable`1 key, Object arg) at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(PSKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg) at Microsoft.PowerShell.PSConsoleReadLine.InputLoop() at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics, CancellationToken cancellationToken)
PSReadLine: 2.1.0PowerShell: 7.2.1OS: Microsoft Windows 10.0.19042BufferWidth: 231BufferHeight: 58
Last 200 Keys
- f f l a g s Spacebar + s h o r t e s t Spacebar Enter
UpArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+RightArrow Ctrl+RightArrow Ctrl+RightArrow LeftArrow LeftArrow Spacebar - f f l a g s Spacebar + s h o r t e s t Enter
UpArrow UpArrow DownArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+RightArrow LeftArrow LeftArrow LeftArrow Spacebar - f f l a g s Spacebar + s h o r t e s t Enter
UpArrow Ctrl+c UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow DownArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+RightArrow Ctrl+RightArrow Ctrl+RightArrow Ctrl+RightArrow Ctrl+RightArrow UpArrow UpArrow UpArrow UpArrow DownArrow UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Delete Delete Delete 8 4 7 Ctrl+RightArrow Ctrl+RightArrow Ctrl+RightArrow Delete RightArrow 6 RightArrow RightArrow RightArrow Delete 3 RightArrow Delete 6 End Enter
UpArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow Ctrl+LeftArrow End Ctrl+LeftArrow Ctrl+LeftArrow Escape
Steps to reproduce
No idea. I just hit 'Escape' to clear the line so I could exit the terminal.
The relevant line was probably at the bottom of the buffer at the time.
Expected behavior
Line cleared when I hit escape.
Actual behavior
Exception report, looks like it deleted two characters before excepting.
The text was updated successfully, but these errors were encountered:
This could be the same underlying issue as #2298. However, that is against 2.2.0 beta, has a slightly different stack trace (maybe due to refactoring), and is apparently only seen in the VS Code PowerShell integrated terminal, where this happend in Windows Terminal 1.11.3471.0.
@TBBle The issue you ran into is likely the same as #1884, which was fixed in the most recent 2.2.1-rc1 release. Please upgrade to the latest PSReadLine and give it a try.
Prerequisites
Exception report
Screenshot
Environment data
From the supplied script:
Output by the exception handler:
Last 200 Keys
Steps to reproduce
No idea. I just hit 'Escape' to clear the line so I could exit the terminal.
The relevant line was probably at the bottom of the buffer at the time.
Expected behavior
Line cleared when I hit escape.
Actual behavior
Exception report, looks like it deleted two characters before excepting.
The text was updated successfully, but these errors were encountered: