Skip to content

Ctrl-C was causing a soft-reset in REPL.#241

Merged
tannewt merged 1 commit into
adafruit:masterfrom
dhalbert:kbd-interrupt-fixes
Sep 6, 2017
Merged

Ctrl-C was causing a soft-reset in REPL.#241
tannewt merged 1 commit into
adafruit:masterfrom
dhalbert:kbd-interrupt-fixes

Conversation

@dhalbert
Copy link
Copy Markdown
Collaborator

@dhalbert dhalbert commented Sep 6, 2017

Also allow an immediate ctrl-c in input().

Removed special-case handling of KeyboardInterrupt in pyexec.c: that was causing a soft reset.

Also allow an immediate ctrl-c in `input()`.
@dhalbert dhalbert requested a review from tannewt September 6, 2017 21:24
@tannewt
Copy link
Copy Markdown
Member

tannewt commented Sep 6, 2017

Code looks good but I'll wait for the tests to come back before approving.

@tannewt tannewt merged commit acbca44 into adafruit:master Sep 6, 2017
@dhalbert dhalbert deleted the kbd-interrupt-fixes branch September 6, 2017 21:54
@dhalbert dhalbert mentioned this pull request Sep 8, 2017
@dhalbert
Copy link
Copy Markdown
Collaborator Author

dhalbert commented Sep 8, 2017

Fixes #232 as well.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants