X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/6ff42d7b7e8e3af059a846a824267897ccd0dbee..6dccefa97d3d196f2c1da710afc716df700352d5:/Console.cpp diff --git a/Console.cpp b/Console.cpp index bc35379..2d6b566 100644 --- a/Console.cpp +++ b/Console.cpp @@ -366,6 +366,8 @@ static char **Complete(const char *word, int start, int end) { size_t colon(common.find(':')); if (colon != std::string::npos) common = common.substr(0, colon + 1); + if (completions.size() == 1) + common += ' '; char **results(reinterpret_cast(malloc(sizeof(char *) * (count + 2))));