npm xterm 4.5.0

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

🚀 Features

📦 API

  • New experimental link provider API (#2530, #2710) via @jmbockhorst. This flips around how links in the terminal work by asking an addon what links are available at a particular cell when its hovered, instead of pre-parsing the entire viewport using the current link matcher API. The plan is for this to eventually replace the registerLinkMatcher API. You can test this new API by setting the _useLinkProvider parameter on the web links addon.
  • The alternate buffer can now be accessed via the experimental buffer API (#2713) via @JavaCS3. This breaks the previous API so if you're an early adopter be sure to update accordingly.

🐞 Bug fixes

  • Remove duplicate CSS rule being added (#2715) via @kumaran-14
  • Make cursor display on the last cell if it's off the edge of the screen (#2731) via @jerch
  • Fix transparent theme colors on old Edge (#2739) via @felixse
  • Fix addDisposableDomListener leaking events (#2767) via @JavaCS3
  • Use role=list attribute when screenReaderMode is enabled (#2814) via @Tyriar
  • Ensure multiple cursor blink animations aren't occurring at same time (#2817) via @Tyriar

📝 Documentation and internal improvements

🛑 Breaking changes

  • The buffer API has changed significantly:
    // before 4.5.0
    const activeBuffer = term.buffer
    
    // after 4.5.0
    const activeBuffer = term.buffer.active

🎉 New real-world use cases


🤝 Compatible addon versions

  • xterm-addon-attach@0.5.0
  • xterm-addon-fit@0.3.0
  • xterm-addon-search@0.6.0
  • xterm-addon-serialize@0.2.0
  • xterm-addon-ligatures@0.2.1
  • xterm-addon-unicode11@0.1.1
  • xterm-addon-web-links@0.3.0
  • xterm-addon-webgl@0.6.0

🌐 Website

Don't miss a new xterm release

NewReleases is sending notifications on new releases.