summaryrefslogtreecommitdiff
path: root/py/mpconfig.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-04-10 17:19:36 +1000
committerDamien George <damien.p.george@gmail.com>2017-04-18 17:24:30 +1000
commitbbb4b9822f094825d7e7fd1f7df716adc2598685 (patch)
tree7f024eeedd154dcb82b0691f76638547e1e707d4 /py/mpconfig.h
parent29b26f392283edbdd18808d450ab7dd649dbc200 (diff)
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/mpconfig.h')
-rw-r--r--py/mpconfig.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h
index 05cb5daaf..b6e24d205 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -445,7 +445,7 @@
# endif
#endif
-// Whether to provide the mp_kbd_exception object
+// Whether to provide the mp_kbd_exception object, and micropython.kbd_intr function
#ifndef MICROPY_KBD_EXCEPTION
#define MICROPY_KBD_EXCEPTION (0)
#endif