X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/a3f4a8e1ba1a704df8178f48f4d689adc1be51ed..ec18fc0ee15ed0b8303b70608bd58181fc9c691e:/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))));