Fix annoying <CR> behaviour on autocomplete

[Fixes #6]