After pasting, Ctrl+z deletes character by character instead of undoing the whole string #4745
Labels
Resolution-Duplicate
There's another issue on the tracker that's pretty much the same thing.
Environment
Windows build number: 10.0.19569.1000
Windows Terminal version: 0.9.433.0
Steps to reproduce
Expected behavior
With a single Ctrl+z press, the whole "hello world" string should be deleted. This behavior matches PowerShell when not running inside Terminal.
Actual behavior
Each press of Ctrl+z deletes a single letter/character, as if by pressing Backspace.
In contrast, I see that if I use the up/down arrows to insert strings of text, Ctrl+z correctly deletes the whole string, which matches the behavior of PowerShell outside of Terminal.
My PSReadline version is 2.0.0, according to
Get-Module PSReadline
.The text was updated successfully, but these errors were encountered: