]> git.lizzy.rs Git - linenoise.git/commit
Fix a couple of compiler warnings
authorSteve Bennett <steveb@workware.net.au>
Sun, 4 Aug 2013 01:19:15 +0000 (11:19 +1000)
committerSteve Bennett <steveb@workware.net.au>
Sun, 4 Aug 2013 21:41:23 +0000 (07:41 +1000)
commiteefad91d67c318e339a7d6f29680cd9e782ce195
tree775df718b79561afcf3bb2458eda57815a46bdf6
parentfd43665fc8b76e31ec4de5fc129d4b668e037d3f
Fix a couple of compiler warnings

With the colour prompt support.
Also recognize '\e[m' as an escape sequence.
Simplify countColorControlChars().

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