From 77f412af1babb8f97cf29738de2df1f752c5ee77 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Wed, 1 Jul 2020 21:00:06 +0200 Subject: [PATCH] fixup! Also clear suggestions Also #7145. --- src/reader.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/reader.cpp b/src/reader.cpp index 05c5677f7..043408499 100644 --- a/src/reader.cpp +++ b/src/reader.cpp @@ -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();