npm xterm 4.2.0

latest releases: 5.0.0, 5.0.0-beta.60, 5.0.0-beta.59...
5 years ago

🚀 Features

  • Support several new sequences (#2360) via @jerch
    • SL - Scroll left
    • SR - Scroll right
    • DECIC - Insert columns
    • DECDC - Delete columns

📦 API

  • New base scroll sensitivity setting (#2485) via @eamodio
    // Scroll 2 times faster than normal
    const term = new Terminal({
      scrollSensitivity: 2
    });
  • Support fast scrolling while holding a modifier key (alt by default) (#2375) via @csurquin
    // Scroll 10 times faster than normal when holding alt
    const term = new Terminal({
      fastScrollSensitivity: 10,
      fastScrollModifier: 'alt'
    });
  • Surface the range of a link in its hover callback (#2470, #2492) via @jmbockhorst
    interface ILinkMatcherOptions {
      tooltipCallback?: (event: MouseEvent, uri: string, location: IViewportRange) => boolean | void;
    }

🐞 Bug fixes

  • Throw when Infinity and NaN are provided to an API that expects an integer (#2451) via @Tyriar
  • Have the unfocused cursor style match the normal cursor style (#2455) via @JeffreyCA
  • Send correct sequence for ctrl+up/down on macOS (#2467) via @Tyriar
  • Mark element and textarea correctly with | undefined in the API (#2473) via @Tyriar
  • Add ,, ; and : as default characters included in the wordSeparator option (#2474) via @glneto
  • Protect against exception when clicking on links (#2475) via @Tyriar
  • Fix scrollback going missing when increasing terminal size under conpty (#2476) via @Tyriar
  • Fix alerts provided by lgtm.com (#2496, #2505) via @Tyriar
  • Fix edge case in text decoder (#2504) via @jerch
  • Limit parse buffer size (#2508) via @jerch
  • Set IMarker.line to -1 when disposed (#2510) via @Tyriar
  • Apply scrollSensitivity when fast scrolling (#2514) via @Tyriar

📝 Documentation and internal improvements

🛑 Breaking changes

  • Seldom used URXVT and UTF8 mouse encodings have been removed (#2507) via @jerch

🎉 New real-world use cases


📥 Addons

xterm-addon-fit

xterm-addon-search

  • Reveal search results properly when found in the line immediately below the viewport (#2453) via @Tyriar
  • Prevent single search result from being deselected when re-searching (#2491) via @miggs125

xterm-addon-webgl

  • Have the unfocused cursor style match the normal cursor style (#2455) via @JeffreyCA

🤝 Compatible addon versions

  • xterm-addon-attach@0.3.0
  • xterm-addon-fit@0.3.0
  • xterm-addon-search@0.3.0
  • xterm-addon-ligatures@0.2.1
  • xterm-addon-web-links@0.2.1
  • xterm-addon-webgl@0.3.0

Don't miss a new xterm release

NewReleases is sending notifications on new releases.