Skip to content
  • Damien George's avatar
    py/modbuiltins: Add core-provided version of input() function. · bc76302e
    Damien George authored
    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.
    bc76302e