From: Jay Freeman (saurik) Date: Wed, 9 Dec 2015 09:21:19 +0000 (-0800) Subject: Avoid breaking ^C-for-cancel after tab completion. X-Git-Tag: v0.9.590~233 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/5569e99884972b8d69437ca6f8c35876a597ce22?ds=sidebyside Avoid breaking ^C-for-cancel after tab completion. --- diff --git a/Console.cpp b/Console.cpp index 997168d..b0b3768 100644 --- a/Console.cpp +++ b/Console.cpp @@ -336,6 +336,7 @@ static char **Complete(const char *word, int start, int end) { rl_attempted_completion_over = ~0; std::string line(rl_line_buffer, start); char **values(CYComplete(word, command_ + line, &Run)); + mode_ = Parsing; return values; }