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
I am so used to moving word by word in PowerShell under windows, that I keep pressing Ctrl+Left and Ctrl+Right under linux as well, which at some point resulted in the following message asking me to report this here:
Environment
PSReadLine: 2.0.0
PowerShell: 7.0.0
OS: Linux 5.6.8-arch1-1 #1 SMP PREEMPT Wed, 29 Apr 2020 16:22:56 +0000
Last 200 Keys
Enter
v i m Spacebar Backspace Backspace Backspace Backspace Backspace v i m Spacebar . Backspace Backspace Backspace Backspace Backspace Backspace v i m Spacebar Backspace Backspace Backspace Backspace c p Spacebar c o Tab B Tab Spacebar c o Tab B Tab Backspace Backspace Backspace Backspace l a g d a Enter
v i m Spacebar c o Tab B Tab Backspace Backspace Backspace Backspace l Tab Enter
v i m Spacebar - s Spacebar t e x t Backspace Backspace s t . v i m Spacebar - c Spacebar " " LeftArrow w g Backspace q RightArrow LeftArrow LeftArrow LeftArrow : RightArrow End Spacebar c o Tab B Tab Backspace Backspace Backspace Backspace l a g d a Enter
v i m UpArrow UpArrow Enter
UpArrow LeftArrow UpArrow UpArrow UpArrow UpArrow DownArrow DownArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow RightArrow Backspace Enter
UpArrow UpArrow Enter
UpArrow Enter
UpArrow UpArrow Home RightArrow RightArrow RightArrow RightArrow RightArrow RightArrow Backspace Backspace Backspace Delete Spacebar _ Backspace " Escape 1 ; 5 C UpArrow UpArrow DownArrow UpArrow Home RightArrow RightArrow RightArrow RightArrow RightArrow RightArrow Escape
Exception
System.ArgumentOutOfRangeException: Non-negative number required. (Parameter 'count')
at System.Collections.Generic.List`1.GetRange(Int32 index, Int32 count)
at Microsoft.PowerShell.PSConsoleReadLine.EndEditGroup(Action`2 instigator, Object instigatorArg)
at Microsoft.PowerShell.PSConsoleReadLine.GroupUndoHelper.EndGroup()
at Microsoft.PowerShell.PSConsoleReadLine.ViCommandMode(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)
The text was updated successfully, but these errors were encountered:
daxian-dbw
changed the title
Something went wrong (probably because of ctrl+arrow keys?)
_editGroupStart is not properly set when go back to history
May 14, 2020
I am so used to moving word by word in PowerShell under windows, that I keep pressing Ctrl+Left and Ctrl+Right under linux as well, which at some point resulted in the following message asking me to report this here:
Environment
PSReadLine: 2.0.0
PowerShell: 7.0.0
OS: Linux 5.6.8-arch1-1 #1 SMP PREEMPT Wed, 29 Apr 2020 16:22:56 +0000
Last 200 Keys
Exception
The text was updated successfully, but these errors were encountered: