Description
Environment data
PS version: 6.0.2
PSReadline version: 2.0.0-beta2
os: Linux ABradley-T460s 4.4.0-17134-Microsoft #112-Microsoft Thu Jun 07 22:57:00 PST 2018 x86_64 x86_64 x86_64 GNU/Linux
PS file version:
/mnt/c/Users/abradley
Steps to reproduce or exception report
Open PSReadline within pwsh on WSL Ubuntu. I pressed Win+R, typed "ubuntu.exe -c pwsh" and hit Enter.
Enter a long line of input. Position the cursor at the beginning of the input. Hold the "Delete" key. The input will rapidly disappear one character at a time (good) but every so often, the "Del" escape code will be written to the display. ^[[3~
(bad)
It's as if PSReadline can't keep up when keystrokes are being input so quickly, so some of them "escape" onto the screen, and the escape code is displayed raw. Which doesn't make much sense to me; I assume all input should go into some sort of queue and never be rendered visually till PSReadline processes it. Is that not what's happening?
Possibly related to my comments on #420: #420 (comment)