Skip to content

terminal: support CSI 19 t (report screen size in characters) - #14633

Merged
mitchellh merged 1 commit into
ghostty-org:mainfrom
jcollie:csi-19-t
Oct 11, 2026
Merged

mitchellh merged 1 commit into
ghostty-org:mainfrom
jcollie:csi-19-t

Conversation

@jcollie

@jcollie jcollie commented Oct 10, 2026

Copy link
Copy Markdown
Member

Respond to XTWINOPS CSI 19 t with CSI 9 ; rows ; cols t. Ghostty has no knowledge of the physical screen size, so, like VTE, report the size of the text area in characters (the same values as CSI 18 t).

AI disclosure: Claude Code was used in the preparation of this PR.

Respond to XTWINOPS CSI 19 t with CSI 9 ; rows ; cols t. Ghostty has no
knowledge of the physical screen size, so, like VTE, report the size of
the text area in characters (the same values as CSI 18 t).

This is wired through both the libghostty-vt stream terminal and the
termio stream handler, and exposed in the C API as
GHOSTTY_SIZE_REPORT_CSI_19_T.
@jcollie
jcollie requested a review from a team as a code owner October 10, 2026 22:09
@ghostty-bot ghostty-bot Bot added the vt Control sequence related label Oct 10, 2026
@mitchellh
mitchellh merged commit 6408960 into ghostty-org:main Oct 11, 2026
@github-actions github-actions Bot added this to the 1.4.0 milestone Oct 11, 2026
@jcollie
jcollie deleted the csi-19-t branch October 11, 2026 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

vt Control sequence related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants