🚀 Features
- Support several new sequences (#2360) via @jerch
SL
- Scroll leftSR
- Scroll rightDECIC
- Insert columnsDECDC
- 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
andNaN
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
andtextarea
correctly with| undefined
in the API (#2473) via @Tyriar - Add
,
,;
and:
as default characters included in thewordSeparator
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
- Log a warning when calling
open
on an element not attached to the DOM (#2450, #2497) via @Tyriar - Add integration test for terminal disposing (#2469) via @leomoty
- Improve automation for publishing patch releases (#2481) via @Tyriar
- Automate website update PR on release (#2482) via @Tyriar
- Fix integration tests running within dev container (#2477) via @leomoty
- Forbid the use of mocha's
.only
in CI (#2493) via @leomoty - Minor API clean up (#2501, #2511) via @Tyriar
- Use an mp3 as the default bell sound instead of wav (#2506) via @Tyriar
- Refine new
IViewportRange
API (#2512) via @Tyriar
🛑 Breaking changes
🎉 New real-world use cases
- Ten Hands (#2454) via @saisandeepvaddi
- WebAssembly.sh (#2465) via @syrusakbary
📥 Addons
xterm-addon-fit
- Prevent
proposeDimensions
from returning values less than the minimum dimensions (#2483) via @leomoty - Add integration tests (#2483, #2489) via @leomoty
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