-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Closed
Labels
In-PRThis issue has a related PRThis issue has a related PRIssue-TaskIt's a feature request, but it doesn't really need a major design.It's a feature request, but it doesn't really need a major design.Needs-Tag-FixDoesn't match tag requirementsDoesn't match tag requirementsProduct-ConptyFor console issues specifically related to conptyFor console issues specifically related to conpty
Description
Description of the new feature/enhancement
When I issue a ResizePseudoConsole call, if the buffer is changing from a smaller size to a larger one, ConPTY outputs the reflowed buffer and overwrites any content currently in the terminal. If there were 50 lines of output, the buffer size was 24 lines, and I resize to 30 lines, the output will be overwritten with 24 lines. (The amount of content in the buffer at the time of the resize).
Proposed technical implementation details
Possible Solutions:
- Add the ability to disable the automatic output of the reflowed buffer
- Add ability to specify differing buffer and window sizes for ConPTY, such that the window size will ensure VT sequences are emitted in sync with the terminal ConPTY may be connected to and therefore output looks visually correct. While also allowing a scrollback buffer to be maintained and reflowed as needed.
-
Example Pseudocode:
CreatePseudoConsole(windowSize, bufferSize, hInput, hOutput, dwFlags, phPC)
-
Related
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
In-PRThis issue has a related PRThis issue has a related PRIssue-TaskIt's a feature request, but it doesn't really need a major design.It's a feature request, but it doesn't really need a major design.Needs-Tag-FixDoesn't match tag requirementsDoesn't match tag requirementsProduct-ConptyFor console issues specifically related to conptyFor console issues specifically related to conpty