]> git.lizzy.rs Git - linenoise.git/commit
Handle control characters in the line
authorSteve Bennett <steveb@workware.net.au>
Thu, 30 Sep 2010 20:07:42 +0000 (06:07 +1000)
committerSteve Bennett <steveb@workware.net.au>
Fri, 8 Apr 2011 01:37:19 +0000 (11:37 +1000)
commit15ea795648aa4a4a8aee366914ffe277a5e0c03c
treeefeb1493c0753dd5a8f111865badfea0ec238e60
parentaff3d86f602b0e2bf123cafa9218bb5fd48ac133
Handle control characters in the line

Only allow tab (^I) to be inserted in the line, not other
control characters.
But display any control character as ^x and handle
the cursor properly.

Signed-off-by: Steve Bennett <steveb@workware.net.au>
linenoise.c