mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-06 07:38:21 +00:00
The resize function now requires cell_width_px and cell_height_px parameters and handles the full resize sequence: computing and setting width_px/height_px on the terminal, clearing synchronized output mode so changes display immediately, and encoding a mode 2048 in-band size report via the write_pty callback when that mode is enabled. A valid width/height px is critical for some applications and protocols and some applications rely directly on in-band size reports, so this change is necessary to support those use cases.