PSReadLine icon indicating copy to clipboard operation
PSReadLine copied to clipboard

哎呀,出现问题。请在报告此 Bug 时添加以下详细信息。

Open WilliamJiH opened this issue 8 years ago • 1 comments


上 3 个密钥: Alt+' Backspace f

异常: System.ArgumentException: 目标数组的长度不够。请检查 destIndex 和长度以及数组的下限。 在 System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationInd ex, Int32 length, Boolean reliable) 在 System.Array.Copy(Array sourceArray, Array destinationArray, Int32 length) 在 Microsoft.PowerShell.PSConsoleReadLine.ReallyRender() 在 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 )

WilliamJiH avatar Mar 07 '18 15:03 WilliamJiH

This is a duplicate and has been reported many times, e.g. #481. This is fixed in 2.0.0-beta1.

lzybkr avatar Mar 07 '18 17:03 lzybkr