fixup! Also clear suggestions

Also #7145.
This commit is contained in:
Fabian Homborg 2020-07-01 21:00:06 +02:00
parent eb35975c0f
commit 77f412af1b

View file

@ -2679,6 +2679,7 @@ void reader_data_t::handle_readline_command(readline_cmd_t c, readline_loop_stat
outputter_t &outp = outputter_t::stdoutput();
// Move cursor to the end of the line.
update_buff_pos(&command_line, command_line.size());
autosuggestion.clear();
// Repaint also changes the actual cursor position
repaint();