Skip to content

System.ArgumentOutOfRangeException #863

Closed
@YexuanXiao

Description

@YexuanXiao

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(Nullable1 key, Object arg) 在 Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 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]>

Metadata

Metadata

Assignees

No one assigned

    Labels

    OutOfRangeIssues relating to System.ArgumentOutOfRangeException

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions