[PR #18862] Account for custom cell sizes in launch size calculation #31628

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

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

State: closed
Merged: Yes


Summary of the Pull Request

When calculating the initial terminal window size, we weren't taking
into account the line height and cell width settings, so the resulting
number of rows and columns didn't match the requested launch size.

Validation Steps Performed

Manually verified that the window is now correctly sized when using a
custom line height and cell width.

PR Checklist

**Original Pull Request:** https://github.com/microsoft/terminal/pull/18862 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request When calculating the initial terminal window size, we weren't taking into account the line height and cell width settings, so the resulting number of rows and columns didn't match the requested launch size. ## Validation Steps Performed Manually verified that the window is now correctly sized when using a custom line height and cell width. ## PR Checklist - [x] Closes #18582
claunia added the pull-request label 2026-01-31 09:48:30 +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#31628