diff options
author | Damien George <damien.p.george@gmail.com> | 2017-04-10 17:19:36 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-04-18 17:24:30 +1000 |
commit | bbb4b9822f094825d7e7fd1f7df716adc2598685 (patch) | |
tree | 7f024eeedd154dcb82b0691f76638547e1e707d4 /py/runtime_utils.c | |
parent | 29b26f392283edbdd18808d450ab7dd649dbc200 (diff) | |
download | micropython-bbb4b9822f094825d7e7fd1f7df716adc2598685.tar.gz micropython-bbb4b9822f094825d7e7fd1f7df716adc2598685.zip |
py/modmicropython: Add micropython.kbd_intr() function.
It controls the character that's used to (asynchronously) raise a
KeyboardInterrupt exception. Passing "-1" allows to disable the
interception of the interrupt character (as long as a port allows such a
behaviour).
Diffstat (limited to 'py/runtime_utils.c')
0 files changed, 0 insertions, 0 deletions