You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
🎨 Type: EnhancementIssue or PR is an enhancement request/proposal for Hyper💬 Feedback WantedIssue or PR needs input from the community! Lend your thoughts ✨
👍 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
Reacted by 5hun Yanaura, Caesar Schinas, xcv58, Liudas Dzisevicius, Luiz Nickel, Kincaid O'Neil, Daniel Imms, Lobito, Sam Marder, tbodt and 84 more
Reacted by Ben, Markoz Peña, Alan Aasmaa, David Refoua and SupinePandora43
Reacted by Alan Aasmaa, LitoMore and David Refoua
Reacted by Alan Aasmaa, LitoMore, David Refoua and SupinePandora43
When I first tested it it had some serious problems in terms of support of terminal features and slower performance. Would be useful to revisit this now, though
Agree, would actually be good to have some reproducible test cases to compare both against each other. Like the vtop or emoji test for non standard-width characters (which is broken in xterm and hterm) and locale specific tests, as well as tests for unicode, performance (seq 1000000) etc... I will try to create a couple of test files and run them to compare the output.
@mofux I recently generated the stats at #687 (comment). It's a really somewhat terrible ruby script but I could put it in a gist if you're interested.
It's actually a bit involved to measure output lag (from the outside) because the actual commands finish long before the output arrives.
There are a number of other styling things I'd like to fix, such as underline/i-beam cursors not blinking, but the root cause is hterm. SO CAN WE PLEASE FOR THE LOVE OF GOD USE A JAVASCRIPT TERMINAL LIBRARY THAT DOES NOT REQUIRE SIGNING AN NDA TO CONTRIBUTE TO!!!!!!11!!1#1275
Reacted by Caesar Schinas, Sean Johnson, Yukai Huang, Alexis Tyler and Anton Gilgur
FYI, the main issues on xterm.js to watch regarding perf are:
scrollback doesn't work as expected xtermjs/xterm.js#361scrollback doesn't work as expected - I currently have a WIP branch that should help when culling rows from the buffer, this blocks the below issue and should make it process output faster
It might be worth holding out on migrating until these 2 are tackled if the laggy input is too much of a regression (likely some time in January of February).
Reacted by Paris Kasidiaris, Sean Johnson, SirTimmyTimbit, Yukai Huang, jrop and Søren Nguyen Boisen
+1 for switching to xterm.js. As an Asian user, I would be very happy to see correctly rendered CJK characters and support for IME, as for now they mess up any other output in hyper.
@rauchg I have uploaded two GIFs (iTerm 2 & Hyper 1.0) depicting Chinese IME usage under iTerm 2 and Hyper 1.0, with the same font configuration in both terminal emulators.
I typed zhongwenceshi in order to get 中文测试. As the GIFs show, the iTerm one is normal, and what it should be, while the Hyper one is unacceptable.
Thanks in advance for looking into this problem. Also, this is likely the same issue as #149.
A long journey finally comes to an end ♥️ -- but a new journey has just started! Now that we are on xterm.js it's in our hands to improve Hyper and xterm to build the most awesome terminal in the block 🎉 Big thanks to everybody involved making this happen 💪
Reacted by LitoMore, Albin Ekblom, CHaBou, Simon Knittel, Alexis Tyler, David Refoua, Piotr Kulpinski, birkhoff and Martin DONADIEU
Reacted by Albin Ekblom, CHaBou, Simon Knittel, LitoMore and David Refoua
@DRSDavidSoft before that we used hterm (Chromium embedded terminal), in a iframe, with a lot of monkey patches. Without any power to enhance it. It was backed by DOM. More pluggable but less perfmonant/robust/healthy than xtermjs, backed by a canvas render engine and an amazing community.
@DRSDavidSoft Indeed the UI is developed since the start. We where using hterm but xterm is more promising and useful since we are in contact with actives maintainers and we can reduce bugs or isolate them more easily.
how we can integrate hype with internal vs code terminal.
as I can see in the issues it was not possible because it was not using the xterm.js but now we are on 2.0 so how can we do it?
Hyper and vscode both use xterm.js to render the terminal, but apart from that they are two completely separate applications with different architectural designs. Both cannot be integrated into each other. But the good news is: contributing enhancements and addons to xterm.js will allow both to use them! The xterm.js crew is currently working on a plugin architecture that once landed will make it much easier for vscode and hyper to use addons written for xterm.js.
🎨 Type: EnhancementIssue or PR is an enhancement request/proposal for Hyper💬 Feedback WantedIssue or PR needs input from the community! Lend your thoughts ✨
Activity
[-][ENHANCEMENT] Change to xterm.js[/-][+]Change to xterm.js[/+]rauchg commentedon Dec 19, 2016
When I first tested it it had some serious problems in terms of support of terminal features and slower performance. Would be useful to revisit this now, though
mofux commentedon Dec 19, 2016
Agree, would actually be good to have some reproducible test cases to compare both against each other. Like the
vtoporemojitest for non standard-width characters (which is broken in xterm and hterm) and locale specific tests, as well as tests for unicode, performance (seq 1000000) etc... I will try to create a couple of test files and run them to compare the output.tbodt commentedon Dec 20, 2016
It also may fix #270.
tbodt commentedon Dec 20, 2016
Actually it won't, it has no support for cursor shapes at all. It would be a lot easier to fix #270 though.
KarlAmort commentedon Dec 21, 2016
@mofux I recently generated the stats at #687 (comment). It's a really somewhat terrible ruby script but I could put it in a gist if you're interested.
It's actually a bit involved to measure output lag (from the outside) because the actual commands finish long before the output arrives.
tbodt commentedon Dec 21, 2016
#1286 (comment)
Tyriar commentedon Dec 21, 2016
FYI, the main issues on xterm.js to watch regarding perf are:
It might be worth holding out on migrating until these 2 are tackled if the laggy input is too much of a regression (likely some time in January of February).
SirTimmyTimbit commentedon Dec 23, 2016
I say we wait then. We finally have a good looking terminal on Windows, I'd be sad if it turns laggy :(
mofux commentedon Dec 26, 2016
I agree. Thanks @Tyriar for giving us a rough roadmap. I'll follow the issues closely and catch up again once they have been resolved.
dionisokan commentedon Dec 29, 2016
+1 for switching to xterm.js. As an Asian user, I would be very happy to see correctly rendered CJK characters and support for IME, as for now they mess up any other output in hyper.
rauchg commentedon Dec 29, 2016
@dionisokan can you describe the issues you have with the IME support in 1.0? cc @matheuss
dionisokan commentedon Dec 30, 2016
@rauchg I have uploaded two GIFs (iTerm 2 & Hyper 1.0) depicting Chinese IME usage under iTerm 2 and Hyper 1.0, with the same font configuration in both terminal emulators.
I typed
zhongwenceshiin order to get中文测试. As the GIFs show, the iTerm one is normal, and what it should be, while the Hyper one is unacceptable.Thanks in advance for looking into this problem. Also, this is likely the same issue as #149.
42 remaining items
chabou commentedon Nov 2, 2017
You can already use it.
Available on
canaryupdate channel.vallamost commentedon Nov 6, 2017
@chabou when on the canary channel how do you flip hyper over to xterm?
matthecarl commentedon Nov 6, 2017
@isseiler the canary update channel sets xterm as the default
lijunle commentedon Nov 6, 2017
Update your
.hyper.jsconfig file:Tyriar commentedon Apr 18, 2018
Close me, I'm done ✨
mofux commentedon Apr 18, 2018
A long journey finally comes to an end♥️ -- but a new journey has just started! Now that we are on xterm.js it's in our hands to improve Hyper and xterm to build the most awesome terminal in the block 🎉 Big thanks to everybody involved making this happen 💪
chabou commentedon Apr 19, 2018
@mofux Let's do this!
DRSDavidSoft commentedon Apr 22, 2018
@mofux So Hyper v2.0 use xterm.js? Also, what did it use before xterm.js? Did Zeit develop the terminal ui before xterm.js?
chabou commentedon Apr 22, 2018
@DRSDavidSoft before that we used
hterm(Chromium embedded terminal), in a iframe, with a lot of monkey patches. Without any power to enhance it. It was backed by DOM. More pluggable but less perfmonant/robust/healthy thanxtermjs, backed by a canvas render engine and an amazing community.ppot commentedon Apr 22, 2018
@DRSDavidSoft Indeed the UI is developed since the start. We where using hterm but xterm is more promising and useful since we are in contact with actives maintainers and we can reduce bugs or isolate them more easily.
cgatian commentedon May 10, 2018
@Tyriar does this mean it should be possible to use within VS Code ?
albinekb commentedon May 10, 2018
No @cgatian, we now use the same library as in vs code do render the terminal, VS Code already have a built in terminal 👍
spyshow commentedon Jun 6, 2018
how we can integrate hype with internal vs code terminal.
as I can see in the issues it was not possible because it was not using the xterm.js but now we are on 2.0 so how can we do it?
mofux commentedon Jun 6, 2018
Hyper and vscode both use xterm.js to render the terminal, but apart from that they are two completely separate applications with different architectural designs. Both cannot be integrated into each other. But the good news is: contributing enhancements and addons to xterm.js will allow both to use them! The xterm.js crew is currently working on a plugin architecture that once landed will make it much easier for vscode and hyper to use addons written for xterm.js.