[PR #15295] Add support for CSI 18t #30573

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

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

State: closed
Merged: Yes


Adds support for CSI 18t to report the buffer screen size in characters.

This pull request adds support for CSI 18t. When submitted to the terminal, it will respond with "\033[8;{A};{B}t" where A is equal to the height and B is equal to the width of the screen buffer in the number of characters (not pixels).

Validation Steps Performed

Manual tests against PowerShell 7 and ConHost.
Added adapterTest

Closes #13944

**Original Pull Request:** https://github.com/microsoft/terminal/pull/15295 **State:** closed **Merged:** Yes --- Adds support for CSI 18t to report the buffer screen size in characters. This pull request adds support for **CSI 18t**. When submitted to the terminal, it will respond with **"\033[8;{A};{B}t"** where **A** is equal to the **height** and **B** is equal to the **width** of the screen buffer in the number of characters (not pixels). ## Validation Steps Performed Manual tests against PowerShell 7 and ConHost. Added adapterTest Closes #13944
claunia added the pull-request label 2026-01-31 09:41:37 +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#30573