Skip to content

VT Extension: In-Band Resize Notifications #7642

@rockorager

Description

@rockorager

Is your feature request related to a problem? Please describe.
The data stream of every event needed to create terminal applications is within a single stream, except for window resize events.

Describe the solution you'd like
Consider implementing a new VT Extension: Private Mode 2048: In-band resize notifications

Describe alternatives you've considered
SIGWINCH is the only solution. Windows, when using the ReadConsoleInput API delivers window resize events in-band and this API is very nice to use.

Additional context
SIGWINCH is reliable, but can cause race conditions as there is now a third party (the kernel) introduced which delivers the signal from the terminal to the application on it's own schedule, from a different thread than the application is operating on.

Other implementations

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions