]> git.saurik.com Git - cycript.git/blobdiff - Console.cpp
Replace AtEncode in grammar with "@encode" token.
[cycript.git] / Console.cpp
index f7c6a0ade49aebeab228956d107efbf51c389d59..c2c46f9d5b0325158f0cfa8291a85f923bdd6e10 100644 (file)
@@ -500,7 +500,11 @@ static void Console(CYOptions &options) {
                 } else if (data == "destroy") {
                     CYDestroyContext();
                 } else if (data == "gc") {
+                    *out_ << "collecting... " << std::flush;
                     CYGarbageCollect(CYGetJSContext());
+                    *out_ << "done." << std::endl;
+                } else if (data == "exit") {
+                    return;
                 } else if (data == "expand") {
                     expand = !expand;
                     *out_ << "expand == " << (expand ? "true" : "false") << std::endl;