Skip to content

Commit 33acc1f

Browse files
authored
Merge pull request #5055 from DFHack/revert-5040-fix_console_autocomplete
Revert "REGRESSION: Fix console command completion help"
2 parents 8d7fe48 + 8eff08e commit 33acc1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/Core.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ void get_commands(color_ostream &con, std::vector<std::string> &commands) {
459459
static bool try_autocomplete(color_ostream &con, const std::string &first, std::string &completed)
460460
{
461461
std::vector<std::string> commands, possible;
462-
get_commands(con, commands);
462+
463463
for (auto &command : commands)
464464
if (command.substr(0, first.size()) == first)
465465
possible.push_back(command);

0 commit comments

Comments
 (0)