Switch from linenoise to replxx
Change-Id: Id3e04eca8dbd7e68cef080713296fef3fdc683c5
diff --git a/src/parser.cpp b/src/parser.cpp
index 2dbea6b..ba6690d 100644
--- a/src/parser.cpp
+++ b/src/parser.cpp
@@ -53,7 +53,7 @@
];
x3::phrase_parse(it, line.end(), grammar, space, parsedCommand);
- return filterAndErasePrefix(ctx.m_suggestions, std::string(ctx.m_completionIterator, line.end()));
+ return filterByPrefix(ctx.m_suggestions, std::string(ctx.m_completionIterator, line.end()));
}
void Parser::changeNode(const dataPath_& name)