Refresh line with single write to avoid flickering.

Escape sequences and actual content to write to the terminal is now
accumulated into an heap allocated buffer that is flushed with a single
write at the end. This avoids a flickering effect making linenoise more
professional looking ;-)
1 file changed
tree: 82c6ad246617ef1f9f459bfd8065e1140e914bb4
  1. .gitignore
  2. example.c
  3. linenoise.c
  4. linenoise.h
  5. Makefile
  6. README.markdown