Fixing an issue where tab completion mid-way on a line was overwriting text to the right of the current position.
Fixing an issue where tab completion mid-way on a line was overwriting text
to the right of the current position.

Also, resolving an issue where after tab completion the cursor was an extra position to the right.
zdennis/rawline