Appearance
iTerm2 Cell Size Reporting (OSC 1337) โ
OSC 1337 ; ReportCellSize queries the terminal for the dimensions of a single character cell in pixels. The response is OSC 1337 ; ReportCellSize=height;width ST. This is essential for pixel-accurate image rendering protocols (sixel, iTerm2 inline images, kitty graphics) where applications need to know the exact pixel dimensions of cells to scale images correctly.
How this is tested: Send
OSC 1337 ; ReportCellSize BEL and verify the terminal responds with cell dimensions.Analysis2026-03-26
Supported by 2 of 13 backends (15%)
Terminal Applications โ
| Terminal | Version | Support | Notes |
|---|---|---|---|
| iTerm2 | 3.6.9 | โ yes | |
| Ghostty | 1.3.1 | โ no | iTerm2-specific protocol not supported |
| VS Code | 1.112.0 | โ no | No OSC 1337 ReportCellSize response |
| Warp | 0.2026.03.18.08.24.03 | โ no | No OSC 1337 ReportCellSize response |
| Cursor | 2.6.21 | โ no | No OSC 1337 ReportCellSize response |
| tmux | 3.6a | โ no | iTerm2-specific protocol not supported by tmux |
| Kitty | 0.46.2 | โ no | iTerm2-specific protocol not supported by kitty |
| Terminal.app | 2.15 | โ no | No OSC 1337 ReportCellSize response |
| GNU Screen | 5.0.1 | โ no | iTerm2-specific protocol not supported by Screen |
Headless Backends โ
Parser correctness only โ a โ means the parser accepts the sequence.
| Backend | Version | Support | Notes |
|---|---|---|---|
| vterm | 0.2.0 | โ yes | |
| Alacritty | 0.26.0 | โ no | iTerm2-specific protocol not supported |
| vt100 | 0.2.1 | โ no | iTerm2-specific protocol not implemented โ pure TypeScript emulator |
| WezTerm | 0.1.0-fork.5 | โ no | iTerm2-specific protocol not supported |