mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 20:50:14 +01:00
The implementation is taken from stmhal/input.c, with code added to handle ctrl-C. This built-in is controlled by MICROPY_PY_BUILTINS_INPUT and is disabled by default. It uses readline() to capture input but this can be overridden by defining the mp_hal_readline macro.
39 KiB
39 KiB