Closed
Description
Hi, after evaluating several JS libs for terminal emulation to improve the performance of hyper, I found that https://github.com/sourcelair/xterm.js would probably better suite this project.
- 👍 It is actively maintained.
- 👍 Used by Visual Studio Code and maintained by @Tyriar , who would probably welcome some combined efforts on fixing bugs and improving xterm.js
- 👍 It doesn't require to sign an NDA to contribute
- 👍 It doesn't isolate the terminal DOM inside an iframe, which makes it much easier to hack and style
- 👍 It has solved some of the problems we are having with hterm currently, e.g. IME and CJK character support
- 👎 It is currently being migrated to typescript, which might not be everyone's favourite flavour
- 👎
It feels slightly less responsive at the moment, I think this is caused by the queue mechanism that tries to schedule big ui updates and introduces some ms lag - but it can be optimized
I did some quick tests replacing hterm with xterm.js and the performance seems level. I was also able to quick and dirty put in some of the features we get from hterm, e.g. changing the cursor color on bell.
If you like I can start working on pull request that replaces the current implementation with xterm.js, but I'd like to see some thumbs up for that first