-
Notifications
You must be signed in to change notification settings - Fork 9.2k
WinEvents and ConPTY question #1811
Copy link
Copy link
Closed
Labels
Area-InteropCommunication between processesCommunication between processesIssue-QuestionFor questions or discussionFor questions or discussionProduct-ConptyFor console issues specifically related to conptyFor console issues specifically related to conptyResolution-AnsweredRelated to questions that have been answeredRelated to questions that have been answered
Description
A few days ago I noticed that NeoVim in tmux does not pick up resize events properly, but mysteriously when a different console window is resized, it suddenly fixes itself. I just tracked this down to the fact that libuv is listening for the EVENT_CONSOLE_LAYOUT WinEvent for any window, which doesn't seem to be firing for PTY layout changes.
Now, I believe this is a libuv bug and they should be handling WINDOW_BUFFER_SIZE_EVENT. But before ConPTY existed, their way did work.
Basically I'm looking for some clarification here - what are the console WinEvents supposed to be for, and should they be enabled for PTYs as well? And if not, it might be a good idea to document that they are only sent for actual conhost windows.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area-InteropCommunication between processesCommunication between processesIssue-QuestionFor questions or discussionFor questions or discussionProduct-ConptyFor console issues specifically related to conptyFor console issues specifically related to conptyResolution-AnsweredRelated to questions that have been answeredRelated to questions that have been answered