4.18.0
π¦ API
-
Support buffer decorations (#1852) via @meganrogge
const marker = term.addMarker(1); const decoration = term.registerDecoration({ marker, x: 5 }); decoration.onRender(() => { decoration.element.style.backgroundColor = 'red'; });
-
Make registerMarker's cursor offset optional (#3663) via @childrentime
// Before const markerAtCursor = term.registerMarker(0); // After const markerAtCursor = term.registerMarker();
π Bug fixes
- Clear glyph vertices when switching buffers (#3624) via @Tyriar
- On buffer clear, dispose of markers (#3628) via @meganrogge
π Documentation and internal improvements
π New real-world use cases
- Libv86 Terminal Forwarding (#3664) via @hello-smile6
π€ Compatible addon versions
xterm-addon-attach@0.6.0
xterm-addon-fit@0.5.0
xterm-addon-ligatures@0.5.3
xterm-addon-search@0.8.2
xterm-addon-serialize@0.6.2
xterm-addon-unicode11@0.3.0
xterm-addon-web-links@0.5.1
xterm-addon-webgl@0.11.4