1. 11 Oct, 2015 1 commit
    • Damien George's avatar
      repl: Add paste mode to friendly REPL, entered via CTRL-E. · 46a11028
      Damien George authored
      Use CTRL-E to enter paste mode.  Prompt starts with "===" and accepts
      all characters verbatim, echoing them back.  Only control characters are
      CTRL-C which cancels the input and returns to normal REPL, and CTRL-D
      which ends the input and executes it.  The input is executed as though
      it were a file.  The input is not added to the prompt history.
      46a11028
  2. 12 Sep, 2015 1 commit
    • Damien George's avatar
      lib/mp-readline: Add auto-indent support. · 0af73014
      Damien George authored
      4 spaces are added at start of line to match previous indent, and if
      previous line ended in colon.
      
      Backspace deletes 4 space if only spaces begin a line.
      
      Configurable via MICROPY_REPL_AUTO_INDENT.  Disabled by default.
      0af73014
  3. 26 Jul, 2015 1 commit
  4. 30 May, 2015 2 commits
  5. 27 May, 2015 1 commit
  6. 28 Apr, 2015 2 commits
  7. 13 Feb, 2015 2 commits
  8. 29 Jan, 2015 1 commit
  9. 28 Jan, 2015 1 commit
    • Damien George's avatar
      py: Change vstr so that it doesn't null terminate buffer by default. · 0d3cb672
      Damien George authored
      This cleans up vstr so that it's a pure "variable buffer", and the user
      can decide whether they need to add a terminating null byte.  In most
      places where vstr is used, the vstr did not need to be null terminated
      and so this patch saves code size, a tiny bit of RAM, and makes vstr
      usage more efficient.  When null termination is needed it must be
      done explicitly using vstr_null_terminate.
      0d3cb672
  10. 25 Jan, 2015 1 commit
  11. 12 Jan, 2015 4 commits