Skip to content
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
This repository was archived by the owner on Nov 4, 2026. It is now read-only.

Executing "yes" freezes the console #555

Open

Description

@Bertg

Reproduce:

  • open hyperterm
  • type "yes"
  • hit enter

Expectation:

  • Window should scroll
  • ctrl-c should interrupt the process

Activity

  1. MrRio commented on Aug 3, 2016

    @MrRio
    Contributor

    Can confirm on latest master

  2. diessica commented on Aug 3, 2016

    @diessica

    Also happening on OS X El Capitan 10.11.

    Latest master.

  3. ssdong commented on Aug 3, 2016

    @ssdong

    This is really an interesting bug I would say. lol

  4. added
    🐛 Type: Bug
    on Aug 3, 2016
  5. albinekb commented on Aug 6, 2016

    @albinekb
    Contributor

    I think this is related to #94

  6. k1sul1 commented on Nov 23, 2016

    @k1sul1

    Just happened to me, again..

    Everything just freezes in the app, and this is rather interesting:

    htop

    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.

  7. whitfin commented on Dec 7, 2016

    @whitfin

    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 :)

  8. lyndsysimon commented on Feb 17, 2017

    @lyndsysimon

    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.

  9. lyndsysimon commented on Feb 17, 2017

    @lyndsysimon

    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.

  10. 1Reinier commented on Jan 16, 2018

    @1Reinier

    Why is Hyper's I/O so slow?

  11. chabou commented on Jan 16, 2018

    @chabou
    Contributor

    It depends on which version you tried ;)

  12. rolurq commented on May 30, 2019

    @rolurq

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 Type: Bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions