aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/bruiser.cpp
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-05-15 10:31:28 +0000
committerbloodstalker <thabogre@gmail.com>2017-05-15 10:31:28 +0000
commit5cacee675f04dc5ebf612756b2e81d8f03117458 (patch)
treeeee53bc77e42ac5f0ec01f363efadb6a67f9ea41 /bruiser/bruiser.cpp
parentwe apparently have a lib order issue, trying to fix that, wierd why it's ok o... (diff)
downloadmutator-5cacee675f04dc5ebf612756b2e81d8f03117458.tar.gz
mutator-5cacee675f04dc5ebf612756b2e81d8f03117458.zip
added the new real hint and tab-completion functions
Diffstat (limited to 'bruiser/bruiser.cpp')
-rw-r--r--bruiser/bruiser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/bruiser/bruiser.cpp b/bruiser/bruiser.cpp
index 23071a4..6dd8a8d 100644
--- a/bruiser/bruiser.cpp
+++ b/bruiser/bruiser.cpp
@@ -22,7 +22,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.*
/*included modules*/
/*project headers*/
#include "bruiser.h"
-#include "bruiser-extra.h"
+#include "CompletionHints.h"
#include "../mutator_aux.h"
/*standard headers*/
#include <string>
@@ -763,8 +763,8 @@ int main(int argc, const char **argv)
ClangTool Tool(op.getCompilations(), op.getSourcePathList());
/*linenoise init*/
- linenoiseSetCompletionCallback(bruiser::BruiserLinenoiseCompletionCallback);
- linenoiseSetHintsCallback(bruiser::BruiserLinenoiseHintsCallback);
+ linenoiseSetCompletionCallback(bruiser::ShellCompletion);
+ linenoiseSetHintsCallback(bruiser::ShellHints);
/*setting up the initial history size to SHELL_HISTORY_SIZE*/
linenoiseHistorySetMaxLen(SHELL_HISTORY_SIZE);
linenoiseHistoryLoad(SHELL_HISTORY_FILE);