Reproduce:
Expectation:
Can confirm on latest master
Also happening on OS X El Capitan 10.11.
Latest master
.
This is really an interesting bug I would say. lol
I think this is related to #94
Just happened to me, again..
Everything just freezes in the app, and this is rather interesting:
This is pretty serious bug as it crashes the whole terminal, which could be pretty catastrophic if you have a lot going on in other tabs.
I think it's due to Hyper being slow with IO in general. If you print anything "large", it freezes and doesn't accept input until it has cleared the buffer - not just yes
. It just happens that with yes
it can't clear the buffer, so it just freezes for good. If you write a script to output something a large number of times, it'll also freeze, but will recover once the buffer has flushed.
Not unrelated, this has been very frustrating when working on Advent of Code :)
Still an issue in 1.2.1.
I agree with @zaxkehh, it's a problem with IO in general. I was able to reproduce with the following zsh script:
for i in {1..50000}
do
echo $i;
done;
sleep 5;
for i in {1..10}
do
echo $i;
sleep 1;
done;
This produces 50k lines of output (which chokes Hyper, and drives CPU usage through the roof), waits 5 seconds, then outputs an additional 10 lines one at a rate of one per second. By the time Hyper catches up the output is complete.
This issue is of critical importance to me, because I often run several processes at once that output a debug log during development and testing. This makes Hyper almost unusable for me.
Why is Hyper's I/O so slow?
It depends on which version you tried ;)
This is still happening to me in the latest stable version 3.0.2
Not only with yes
but with any program with a lot of output as well.
Most helpful comment
This issue is of critical importance to me, because I often run several processes at once that output a debug log during development and testing. This makes Hyper almost unusable for me.