X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/c1d3e52e58e86c49f9d04e06ae8e0ece4b98250c..50a3d79f79a223e8a119fe7531fd0a47ebd09d45:/Console.cpp?ds=inline diff --git a/Console.cpp b/Console.cpp index 9e84912..883f03f 100644 --- a/Console.cpp +++ b/Console.cpp @@ -85,7 +85,8 @@ static void sigint(int) { case Parsing: longjmp(ctrlc_, 1); case Running: - throw "*** Ctrl-C"; + CYCancel(); + return; case Sending: return; case Waiting: @@ -386,7 +387,7 @@ static char **Complete(const char *word, int start, int end) { // need char *, not const char * static char name_[] = "cycript"; -static char break_[] = " \t\n\"\\'`@$><=;|&{(" ")}" ".:[]"; +static char break_[] = " \t\n\"\\'`@><=;|&{(" ")}" ".:[]"; class History { private: