ConPTY sends two WINDOW_BUFFER_SIZE_EVENT
messages when the window is restored from maximize
#1765
Labels
Area-Server
Down in the muck of API call servicing, interprocess communication, eventing, etc.
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Priority-3
A description (P3)
Product-Conpty
For console issues specifically related to conpty
Milestone
I think I found one resize bug. A ConPTY sends two
WINDOW_BUFFER_SIZE_EVENT
messages when the window is restored from maximize, but the first one has the wrong size (not sure of the internals of this, but it appears in conhost/tmux/pwsh, alacritty/pwsh, and Windows Terminal).Run this program as
conevents -es
in conhost and a different terminal to see the difference; maximize and restore the window. For example, restoring the WinTerm window reports119 x 46
in theWINDOW_BUFFER_SIZE_EVENT
message, butGetConsoleScreenBufferInfo
returns the correct value119 x 32
.Originally posted by @parkovski in #1465 (comment)
The text was updated successfully, but these errors were encountered: