Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow CTRL-c to stop entry in REPL #4405

Merged
merged 2 commits into from Jun 29, 2021
Merged

Allow CTRL-c to stop entry in REPL #4405

merged 2 commits into from Jun 29, 2021

Commits on Jun 15, 2021

  1. Allow CTRL-c to stop entry in REPL

    And a second CTRL-c to exit the REPL if nothing else was entered.
    
    This in response to #4402.
    
    This does *not* achieve the suggested behaviour of being able to
    stop a runaway piece of code, as Raku's signal handler runs on a
    different thread and we currently do not have a way to force an
    exception on anything else but the current thread.  It *does*
    allow one to restart entry without having to remove all characters.
    lizmat committed Jun 15, 2021
    Configuration menu
    Copy the full SHA
    313f0cc View commit details
    Browse the repository at this point in the history
  2. Don't need to check if signal tap is installed

    As the REPL loop is actually inside the repl-loop method.
    lizmat committed Jun 15, 2021
    Configuration menu
    Copy the full SHA
    c52e11d View commit details
    Browse the repository at this point in the history