Skip to content

Device status report (DSR 5)

Category: device · Tags: ECMA-48 Standard, VT100 · Specification ↗

DSR 5 queries the terminal's operational status. The query is ESC [ 5 n. The terminal responds with ESC [ 0 n to indicate it is functioning normally. This is a basic health check that also serves as a synchronization point — applications can send DSR 5 and wait for the response to ensure all previous output has been processed.

Supported by 0 of 6 backends (0%)

Support Matrix

BackendVersionSupportNotes
Alacritty0.26.0~ partialHeadless mode has no output stream for DSR responses
Ghostty1.3.1~ partialHeadless mode has no output stream for DSR responses
Kitty0.40.0~ partialHeadless mode has no output stream for DSR responses
WezTerm0.1.0-fork.5~ partialHeadless mode has no output stream for DSR responses
xterm.js5.5.0~ partialHeadless mode has no output stream for DSR responses
vt1000.1.0✗ noNo output stream — pure TypeScript emulator

Powered by Termless
Playwright for Terminals