From 5cacee675f04dc5ebf612756b2e81d8f03117458 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Mon, 15 May 2017 15:01:28 +0430 Subject: added the new real hint and tab-completion functions --- bruiser/bruiser.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bruiser') 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 @@ -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); -- cgit v1.2.3