ironmansoftware / psedit

A terminal-based editor for PowerShell
MIT License
256 stars 18 forks source link

Ctrl+S for saving is ignored in Windows Terminal #50

Open mklement0 opened 6 months ago

mklement0 commented 6 months ago

In Windows Terminal (WT) 1.19.10821.0 on Microsoft Windows 11 Pro (ARM 64-bit Processor; Version 22H2, OS Build: 22621.3447), with no custom-binding of Ctrl+S in WT itself. conhost.exe windows do not exhibit the same problem.

Not only is Ctrl+S itself ignored, it seems to also block recognition of a subsequent key chord, e.g. Ctrl+Q.

To reproduce, launch WT, then launch something like psedit $PROFILE, modify the buffer, then press Ctrl+S, followed by Ctrl+Q: nothing happens, and when Ctrl+Q is pressed again and Show-PSEditor exits, the modifications are not saved.