:monkey_face: - PSReadLine Failure
See original GitHub issueHello There,
I was working on my terminal (ConEmu) and botched PSReadLine, the console output sent me here:
Last 200 Keys:
i t Backspace Backspace Backspace g i t Spacebar p u l l Spacebar - - r e b a s e Enter
g i t Spacebar s t a s h Enter
UpArrow UpArrow Enter
g i Spacebar p u s Backspace Backspace Backspace Backspace t Spacebar p u s h Enter
UpArrow UpArrow UpArrow UpArrow UpArrow DownArrow Enter
g i t Spacebar p u l l Spacebar - - r e b a s e Enter
g i t Spacebar p u l l Spacebar - - r e b a s e Enter
g i t Spacebar s t Backspace t a s h Enter
UpArrow UpArrow Enter
b i Backspace Backspace Backspace g i t Spacebar p u s h Enter
c o d e Backspace Backspace Backspace Backspace c d Spacebar s r c \ w Backspace e 2 Tab Enter
c o d e Spacebar . Enter
c l e a r Enter
c p Spacebar Backspace Backspace Backspace Backspace g i t Spacebar p u l l Spacebar - - r e b a s e Enter
g i t Spacebar p r o t r a c t o r Ctrl+y Backspace
Exception:
System.ArgumentException: Destination array was not long enough. Check destIndex and length, and the array's lower bounds.
at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
at System.Array.Copy(Array sourceArray, Array destinationArray, Int32 length)
at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender()
at Microsoft.PowerShell.PSConsoleReadLine.BackwardDeleteChar(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
For context, I was trying to git pull --rebase
and then look for a particular command in my history with arrow up.
Thanks!
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
powershell - Re enable Import Module Psreadline warning
Import-Module PSReadLine to your $PROFILE file and doing so will re-enable PSReadLine for a rich command-line editing experience, but you'll ...
Read more >Cause of Warning: PowerShell detected that you might be ...
No warning is displayed when PowerShell starts, since I am not using a screen reader. Workaround. Run the specified command Import-Module ...
Read more >PowerShell "Update-Help"
Describes how to workaround the error when you try to update help for PSReadline in Windows PowerShell 5.1. Try this for the ConfigDefender ......
Read more >qgeneration.txt
Firebug shows `` following '' error How do I make timeout not print any text ? GPU is not booting What does this...
Read more >Not able to update-help in PowerShell - Microsoft Q&A
I've tried -Force switch. Tried save-help then run using -sourcepath still same error message. Any help really appreciated. Windows Server ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
For me also
Thanks, I’ll take a look when I’ve got some time 😄