github xtermjs/xterm.js 3.1.0

latest releases: 5.5.0, 5.4.0, 5.3.0...
6 years ago

🆕 Features

  • Alt+click to move cursor (#896) via @npezza93
  • Select word on right click, defaults to true for macOS (#1114) via @nikonso
  • Support setting fontWeight and fontWeightBold (#1119, #1208) via @nikonso
  • Pause rendering automatically when terminal is offscreen or hidden (#1144) via @Tyriar
  • Ship automatically generates typings for addons (#1197) via @jsmecham - blink1073
  • Support setting terminal padding via CSS, where the scroll bar remains in the outer, padded area (#1208) via @mofux
  • Support translating option to meta on macOS (#1225, #1228) via @saamalik
  • Support transparent background via explicit setting (#1236) via @chabou

🆕 API

  • New settings
  • Setting padding on Terminal.element is now supported (#1208) via @mofux

🐞 Bug fixes

  • Correctly reset parser state for certain escape sequences (#1137) via @damz
  • Use the normal cursor not text cursor when mousing over the scroll bar (#1142) via @Tyriar
  • Fix a null pointer exception when selecting to the bottom of the buffer (#1168) via @Tyriar
  • Fix character texture atlas becoming corrupted when switching monitors with different DPI (#1172) via @Tyriar
  • Enable alt+backspace to delete a word on most shells (#1180) via @Tyriar
  • Fix issues with resizing the terminal (#1206) via @amejia1
  • Fix search addon for lines with emojis and wide chars (#1211) via @Tyriar
  • Fix cursor lagging behind when blink is on (#1217) via @Tyriar
  • Fix links sometimes not correctly activating until scroll (#1234) via @Tyriar
  • Prevent a crash that could happen after resizing the alt buffer (#1235) via @Tyriar
  • Fix context menu paste in Firefox on Windows (#1253) via @sitzmar
  • Change an id to a class that could occur multiple times (#1256) via @Tyriar, @zxdong262
  • Prevent terminal occasionally scrolling to top when hiding (#1266) via @Tyriar

⚠️ Deprecations

  • The setting enableBold is now deprecated in favor of fontWeight and fontWeightBold which can be used to achieve the same result:

    // v3.0
    term.setOption('enableBold', false);
    
    // v3.1
    term.setOption('fontWeightBold', 'normal');

📝 Documentation and internal improvements

🎉 New real-world use cases

❓ Experimental changes

  • Allow the use of modifiers in the experimental link matcher API (#1264) via @Tyriar

Don't miss a new xterm.js release

NewReleases is sending notifications on new releases.