]> git.saurik.com Git - cycript.git/commitdiff
Added a minor console feature to eat blank lines.
authorJay Freeman (saurik) <saurik@saurik.com>
Mon, 2 Nov 2009 20:28:41 +0000 (20:28 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 2 Nov 2009 20:28:41 +0000 (20:28 +0000)
Console.cpp

index e43fab3abd5495e4463403b547f2b75180d88f5c..6946da79d88bf1cd0a2fe77d9eff62380b09cd4f 100644 (file)
@@ -226,6 +226,8 @@ static void Console(apr_pool_t *pool, int client) {
         mode_ = Working;
         if (line == NULL)
             break;
+        if (line[0] == '\0')
+            goto read;
 
         if (!extra) {
             extra = true;