Control-Alt-z is sending the code for Control-z #5887

Closed
opened 2026-01-31 00:24:27 +00:00 by claunia · 1 comment
Owner

Originally created by @amareshjoshi on GitHub (Jan 13, 2020).

Originally assigned to: @zadjii-msft on GitHub.

when i type (in emacs) control-alt-z (C-M-z) the terminal interprets it as control-z.

i can type other C-M combos. for eaxmple C-M-f is different from C-f.
but it doesn't work for C-M-z. i can get the right behavior using:
ESC (and release) and then pressing C-z

curiously it does work properly in the regular wsl.exe application.

Originally created by @amareshjoshi on GitHub (Jan 13, 2020). Originally assigned to: @zadjii-msft on GitHub. when i type (in emacs) control-alt-z (C-M-z) the terminal interprets it as control-z. i can type other C-M combos. for eaxmple C-M-f is different from C-f. but it doesn't work for C-M-z. i can get the right behavior using: ESC (and release) and then pressing C-z curiously it does work properly in the regular wsl.exe application.
Author
Owner

@zadjii-msft commented on GitHub (Mar 16, 2020):

note to self: this is a conpty bug, not a Terminal bug:
image

We're probably mis-translating the ^[^Z as Ctrl+Z

@zadjii-msft commented on GitHub (Mar 16, 2020): note to self: this is a conpty bug, not a Terminal bug: ![image](https://user-images.githubusercontent.com/18356694/76772761-70387380-676f-11ea-9a79-526e27b6645a.png) We're probably mis-translating the `^[^Z` as <kbd>Ctrl+Z</kbd>
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#5887