Skip to content

Cursor position report (DSR 6)

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

DSR 6 (Device Status Report) queries the current cursor position. The application sends ESC [ 6 n and the terminal responds with ESC [ row ; col R. This request-response mechanism is used by shell integration scripts, TUI frameworks, and applications that need to know where the cursor is before rendering content.

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