-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Description
Windows Terminal version
1.16.10261.0
Windows build number
10.0.19044.0 (21H2)
Other Software
Steps to reproduce
I am setting my input handle with ENABLE_VIRTUAL_TERMINAL_INPUT | ENABLE_WINDOW_INPUT | ENABLE_MOUSE_INPUT | ENABLE_EXTENDED_FLAGS,
Stdout's mode is left as default (0x7) with requests for focus reporting, mouse button reporting, and disabling mouse_any reporting: \ESC[?1004h\ESC[?1003l\ESC[?1002h.
Then I read from my stdin.
Expected Behavior
Some sort of binary/VT sequence of bytes to represent a window resize event.
Actual Behavior
Keyboard events are present in stdin (in their VT form), as are mouse and focus events. However, I have nothing when I resize the WT window (both via mouse or via fullscreen toggle via F11).
The phrase "User interactions that change the size of the console screen buffer are reported in the console's input buffer" for ENABLE_WINDOW_INPUT on the page https://learn.microsoft.com/en-us/windows/console/high-level-console-modes has lead me to believe that I should get at least something - maybe not a VT escape sequence per se, but something.
Is there anything in my configuration amiss? Is there a gentle \ESC[?10XXh equivalent of "please give me window resize events, too"?
The example in https://learn.microsoft.com/en-us/windows/console/reading-input-buffer-events works fine without additional configuration.
Cheers!