-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
🎨 Type: EnhancementIssue or PR is an enhancement request/proposal for HyperIssue or PR is an enhancement request/proposal for Hyper💬 Feedback WantedIssue or PR needs input from the community! Lend your thoughts ✨Issue or PR needs input from the community! Lend your thoughts ✨
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 ![]()
yanana, caesar, xcv58, Specro, vaporwavie and 89 moreL3au, markozxuu, alanaasmaa, DRSDavidSoft and SupinePandora43alanaasmaa, LitoMore and DRSDavidSoftalanaasmaa, LitoMore, DRSDavidSoft and SupinePandora43
Metadata
Metadata
Assignees
Labels
🎨 Type: EnhancementIssue or PR is an enhancement request/proposal for HyperIssue or PR is an enhancement request/proposal for Hyper💬 Feedback WantedIssue or PR needs input from the community! Lend your thoughts ✨Issue or PR needs input from the community! Lend your thoughts ✨