]> git.lizzy.rs Git - linenoise.git/commit
Implement multiline and hints support
authorSteve Bennett <steveb@workware.net.au>
Mon, 1 Jan 2018 21:50:12 +0000 (07:50 +1000)
committerSteve Bennett <steveb@workware.net.au>
Thu, 15 Feb 2018 01:43:37 +0000 (11:43 +1000)
commit08d3e5963297d275b5420b12e311381bee4d37f5
tree297b409e512e2fedac87bce628f2c5a2b61f2742
parent52f806bbe7852cf9005ff59022593b7362ac6fa8
Implement multiline and hints support

multiline and hints support now matches antirez/master

Additionally:
- Use an expanding stringbuf to simplify management of the current line
- Now there is no maximum line length
- All output is buffered in refreshLine() and output at once to improve
  performance
- Remove insert/delete char optimisation since it fails with control chars
  and wide characters
- General code cleanup
- Support CRNL in addition to NL for EOL
- don't allow ^V to insert a null char
- Coloured prompts using ANSI escape sequences are now supported on both windows
  and non-windows
- Example app now supports a custom prompt

Signed-off-by: Steve Bennett <steveb@workware.net.au>
Makefile
README.markdown
example.c
linenoise-win32.c [new file with mode: 0644]
linenoise.c
linenoise.h
stringbuf.c [new file with mode: 0644]
stringbuf.h [new file with mode: 0644]
teststringbuf.c [new file with mode: 0644]