v2.0.0
·
110 commits
to master
since this release
Compatible with Vaadin 21+
Based on xterm.js version 4.14.0 https://github.com/xtermjs/xterm.js/releases/tag/4.14.0
New features
- Invoke all the applicable handlers for custom key event.
- Add support for command prompt. (#12)
- Add support for command history. (#13)
- Preserve state of the terminal when the component is reattached. (#14)
- Add support for selection using shift+arrow, shift+home and shift+end keys. (#15)
- Initialize the terminal in insert mode.
- Add Java API for setting insert mode.
Bug Fixes
- Enhance the bell sound. The default bell sound is now a short 800 Hz beep.
- Fix serialization issue for deferred commands (#24)
- Ignore events with modifier keys in console-mixin.
Breaking Changes
- The API and client-side component were heavily refactored. This mostly affects component initialization: console operation (write and
LineEvent) is left untouched.
Changes in behavior
- The terminal is now initialized in insert mode instead of overwrite mode.
- The default bell sound is less annoying.
- The new feature of selection through shift+keys is enabled by default.
- All the registered listeners matching a custom key are fired, in registration order (instead of only firing the last registered one). This change only affects listeners registered directly through JS API. Server-side custom-key listeners are unaffected, since all of them always executed even in version 1.0.0)