diff options
Diffstat (limited to '')
-rw-r--r-- | bruiser/CompletionHints.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bruiser/CompletionHints.cpp b/bruiser/CompletionHints.cpp index d7a6dbb..7ff9b18 100644 --- a/bruiser/CompletionHints.cpp +++ b/bruiser/CompletionHints.cpp @@ -32,7 +32,8 @@ namespace bruiser { void ShellCompletion(const char* __buf, linenoiseCompletions* __lc) { if (__buf != NULL) { for(auto &iter : LUA_FUNCS) { - if (iter.find(__buf) != std::string::npos) { + //if (iter.find(__buf) != std::string::npos) { + if (iter.find(__buf) == 0U) { linenoiseAddCompletion(__lc, iter.c_str()); } } |