]> git.lizzy.rs Git - linenoise.git/commit
Re-add insert optimisation
authorSteve Bennett <steveb@workware.net.au>
Wed, 25 Jul 2018 06:51:26 +0000 (16:51 +1000)
committerSteve Bennett <steveb@workware.net.au>
Wed, 25 Jul 2018 06:58:22 +0000 (16:58 +1000)
commit13ef7e0b82d684cb0c125aecdd4cf40b5374e0eb
tree9b1d8b3d16e2d860e77078d6629d2cd00beaff01
parent0bdf4bda3fbedf0ffe14dbd2ed97645073777c49
Re-add insert optimisation

When inserting at the end of the line, if there is sufficient
space and no hint to display, simply output the character directly

This especially helps when running over a slow serial link

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