fix autocomplete cancel
fix autocomplete cancel

When you cycle through all the options and return to your original
uncompleted input, we should update the State.

dubrowgn/rustyline,dubrowgn/rustyline,cavedweller/rustyline,gwenn/rustyline,kkawakam/rustyline