Skip to content

Recognize CTRL+C to stop running programs #111

@jmmv

Description

@jmmv

Right now, if we have a program in a tight loop without doing any keyboard input, or if we have a program doing a long SLEEP, it's impossible to stop it. We should modify the interpreter to recognize interrupts at arbitrary points.

I'm not yet sure if this would involve fixing the native implementation of various features to be truly async. Those implementations currently block and don't let us do other stuff while we wait -- which might prevent fixing this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions