]> git.lizzy.rs Git - linenoise.git/commit
Optimise common insert/remove char cases
authorSteve Bennett <steveb@workware.net.au>
Thu, 7 Apr 2011 21:38:24 +0000 (07:38 +1000)
committerSteve Bennett <steveb@workware.net.au>
Fri, 8 Apr 2011 01:48:27 +0000 (11:48 +1000)
commit4cdfe79c0bb9c20d41ead734e7caff49f4b2cb32
treeaea20edf3e4ab33d7683824bbec0c4e6f93e2f85
parent9e62ed6426567ee874d36e389411d1c4ed1eb1a5
Optimise common insert/remove char cases

When at the end of the line and no scrolling is needed
Also, ^L forces recalculation of the window size on serial terminals.

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