aboutsummaryrefslogtreecommitdiff
path: root/linenoise.c
AgeCommit message (Collapse)AuthorFilesLines
2010-11-17Linenoise improvement for ^DSteve Bennett1-4/+13
Use default readline/bash behaviour of deleting char to the right, unless the line is empty. Then it is EOF. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-11-17Minor cleanupsSteve Bennett1-1/+0
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-11-17Add utf-8 support to linenoise.cSteve Bennett1-171/+387
Plus general improvements, including: - Allow pasting newlines to linenoise. Use TCSADRAIN, not TCAFLUSH so that unused input is not flushed Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-11-17Add command line editing with linenoiseSteve Bennett1-0/+742
Enabled by default, but can be disabled with --disable-lineedit Signed-off-by: Steve Bennett <steveb@workware.net.au>