-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
System.ArgumentOutOfRangeException #863
Comments
Similar thing happened to me, I've been pasting chunks of async IO code on terminal, and suddenly this. Last 200 Keys:
Exception:
|
My experience of this is in PS 6.1.3 with PSReadLine 2.0.0. I paste a simple function from VS Code into Terminal and below is the result. I had the same Terminal window used for copy over a PS remoting session and even ran clear before pasting from VS Code. Also tried multiple keystrokes to exit to a prompt but that just repeated the error message for each stroke.
Last 200 Keys:
Exception:
|
Similar exception happened to me上 2 个密钥: 异常:
|
I get same exception, after opening PS and pressing UpArrow key quickly. |
PS version: 5.1.18362.145
|
PS version: 5.1.18305.1000
PSReadline version: 2.0.0-beta2
os: 10.0.18345.1000 (WinBuild.160101.0800)
PS file version: 10.0.18345.1000 (WinBuild.160101.0800)
Steps to reproduce or exception report:
create a folder structure like:
E:\BaiduNetdiskDownload[流派未確定]\2009.08.15 [RMCD-0001] 東方幻響曲 [C76]\2009.08.15 [RMCD-0001] 東方幻響曲 [C76]
run powershell in the deepest folder and input a char
PS E:\BaiduNetdiskDownload[流派未確定]\2009.08.15 [RMCD-0001] 東方幻響曲 [C76]\2009.08.15 [RMCD-0001] 東方幻響曲 [C76]>
哎呀,出现问题。请在报告此 Bug 时添加以下详细信息。
在 GitHub 上报告: https://github.com/lzybkr/PSReadLine/issues/new
上 1 个密钥:
.
异常:
System.ArgumentOutOfRangeException: 该值必须大于或等于零,且必须小于控制台缓冲区在该维度的大小。
参数名: left
实际值是 -1。
在 System.Console.SetCursorPosition(Int32 left, Int32 top)
在 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)
PS E:\BaiduNetdiskDownload[流派未確定]\2009.08.15 [RMCD-0001] 東方幻響曲 [C76]\2009.08.15 [RMCD-0001] 東方幻響曲 [C76]>
The text was updated successfully, but these errors were encountered: