]> git.saurik.com Git - cycript.git/commitdiff
Avoid breaking ^C-for-cancel after tab completion.
authorJay Freeman (saurik) <saurik@saurik.com>
Wed, 9 Dec 2015 09:21:19 +0000 (01:21 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Wed, 9 Dec 2015 09:21:19 +0000 (01:21 -0800)
Console.cpp

index 997168d6187584bd238c9b6b3a9c77668f765b81..b0b376817cfaefce51e8f461abcc66257813418f 100644 (file)
@@ -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;
 }