commit | aed9d1af9fd9f8d83ec9b5fcb0c2d071433f9fd1 | [log] [tgz] |
---|---|---|
author | antirez <antirez@gmail.com> | Wed Mar 12 13:04:22 2014 +0100 |
committer | antirez <antirez@gmail.com> | Wed Mar 12 13:04:26 2014 +0100 |
tree | 82c6ad246617ef1f9f459bfd8065e1140e914bb4 | |
parent | 59a4fc96d840f1834002ec378c95908d40c8f604 [diff] |
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 ;-)