Replace ESC 999D with CR.

OSX default Terminal app does not handle 999D well, the cursor will wrap
back to the previous row in the last colum, instead of ignoring the
sequence if the cursor is already at the left edge.

In order to avoid reintroducing the nG sequence that is not compatible
with base VT100 emulation and ANSI.SYS, we use CR that should be
hopefully widely supported.
1 file changed
tree: 94ab156af1fd7ce2574161d8467badb1ce43ace4
  1. .gitignore
  2. Makefile
  3. README.markdown
  4. example.c
  5. linenoise.c
  6. linenoise.h