From 6a5fd0d98dd2bf466dacba8ce7c5f66acf75dbfc Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Tue, 21 Jan 2014 03:35:09 -0800 Subject: [PATCH] Add ?exit command to help people exit the console. --- Console.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Console.cpp b/Console.cpp index f7c6a0a..fdff81c 100644 --- a/Console.cpp +++ b/Console.cpp @@ -501,6 +501,8 @@ static void Console(CYOptions &options) { CYDestroyContext(); } else if (data == "gc") { CYGarbageCollect(CYGetJSContext()); + } else if (data == "exit") { + return; } else if (data == "expand") { expand = !expand; *out_ << "expand == " << (expand ? "true" : "false") << std::endl; -- 2.45.2