[PR #7983] wpf: add width/height checks when resizing the terminal #27052

Open
opened 2026-01-31 09:19:41 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/7983

State: closed
Merged: Yes


We are getting some watson crash reports that the terminal is attempting
to resize to (0, 0). This change makes it so that we prevent such
resizing and if so, throw an exception before we reach native code.

This commit adds resizing checks that prevent resizing the terminal WPF
control to a size of (0, 0)

**Original Pull Request:** https://github.com/microsoft/terminal/pull/7983 **State:** closed **Merged:** Yes --- We are getting some watson crash reports that the terminal is attempting to resize to `(0, 0)`. This change makes it so that we prevent such resizing and if so, throw an exception before we reach native code. This commit adds resizing checks that prevent resizing the terminal WPF control to a size of `(0, 0)`
claunia added the pull-request label 2026-01-31 09:19:41 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#27052