npm / @xterm/xterm
@xterm/xterm
What changed in @xterm/xterm 6, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.
6 breaking1 security9 new APIs and options1 performance2 behavior and defaults5 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@xterm/xterm 624 changes
Breaking changes 6
Removes the alt-to-ctrl+arrow hack; embedders must add keybindings in their code to retain that mapping.
Removes the canvas renderer addon; the notes recommend using the DOM renderer or WebGL instead.
Removes the deprecated fastScrollModifier terminal option.
Adds top and bottom border options and moves overviewRulerWidth to the overviewRuler property.
The viewport and scroll bar work very differently after the integration of the VS Code base and platform.
Removes the deprecated windowsMode terminal option.
Security 1
Escapes unsafe HTML characters in serialized output.
New APIs and options 9
Adds synchronized output support using DEC mode 2026.
Adds support for detailed ligatures and variants.
Adds support for ESM via esbuild.
Adds a range option to IHTMLSerializeOptions for controlling the serialized range.
Exposes onWriteParsed on the API.
Adds support for ANSI OSC52.
Adds putty-style ED2 sequence handling as a terminal option.
Adds the reflowCursorLine option.
Adds a progress addon.
Performance 1
Adds SearchLineCache to improve search performance.
Behavior and default changes 2
The textarea is made readonly when disableStdin is set.
The WebGL renderer now supports shadow DOM.
Fixes and other changes 5
Fixes teleporting when exiting the alt buffer.
Prevents the entire page from scrolling when scrolling in the alt buffer with mouse events off.
Supports semicolons in OSC 8 hyperlink URIs.
ProgressAddon.onChange is no longer undefined.
Fixes finding terms across wrapped lines and when text is wrapped.