diff --git a/src/utils/edit.c b/src/utils/edit.c index b01e08dfc..177ecf41d 100644 --- a/src/utils/edit.c +++ b/src/utils/edit.c @@ -345,7 +345,7 @@ static void insert_char(int c) static void process_cmd(void) { - + currbuf_valid = 0; if (cmdbuf_len == 0) { printf("\n%s> ", ps2 ? ps2 : ""); fflush(stdout);