# What changed in @xterm/headless

> 6 changes in @xterm/headless 6 from its official release notes, upgrade guides and advisories: 3 new APIs and options. Each one cited. Sources checked 2026-11-30. HTML: https://unstale.sh/npm/@xterm/headless/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @xterm/headless 6

### New APIs and options

- Exposes onWriteParsed on the API. (6.0.0) — [release notes](https://github.com/xtermjs/xterm.js/releases/tag/6.0.0)
- Adds Putty-style ED2 sequence handling as a terminal option. (6.0.0) — [release notes](https://github.com/xtermjs/xterm.js/releases/tag/6.0.0)
- Adds the reflowCursorLine option. (6.0.0) — [release notes](https://github.com/xtermjs/xterm.js/releases/tag/6.0.0)

### Behavior and default changes

- Adds support for ANSI OSC52. (6.0.0) — [release notes](https://github.com/xtermjs/xterm.js/releases/tag/6.0.0)
- Adds synchronized output support for DEC mode 2026. (6.0.0) — [release notes](https://github.com/xtermjs/xterm.js/releases/tag/6.0.0)
- Configures the package exports field for headless, affecting how the package is resolved by consumers. (6.0.0) — [release notes](https://github.com/xtermjs/xterm.js/releases/tag/6.0.0)
