Skip to content

4.18.0

Compare
Choose a tag to compare
@meganrogge meganrogge released this 28 Feb 17:13
· 2255 commits to master since this release
a8fbc8d

πŸ“¦ 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';
    });

    Screen Shot 2022-02-28 at 11 08 39 AM

  • Make registerMarker's cursor offset optional (#3663) via @childrentime

    // Before
    const markerAtCursor = term.registerMarker(0);
    
    // After
    const markerAtCursor = term.registerMarker();

🐞 Bug fixes

πŸ“ Documentation and internal improvements

πŸŽ‰ New real-world use cases


🀝 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