This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/master by this push:
new 10fefad Update NCCli.scala
10fefad is described below
commit 10fefad7764039133ea10fd0c5eb77acc362d085
Author: Aaron Radzinski <[email protected]>
AuthorDate: Wed Jun 30 17:21:23 2021 -0700
Update NCCli.scala
---
.../src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala
b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala
index f3492c3..5836985 100644
---
a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala
+++
b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala
@@ -2275,6 +2275,7 @@ object NCCli extends NCCliBase {
parser.setEofOnUnclosedQuote(true)
parser.regexCommand("")
parser.regexVariable("")
+ parser.setEscapeChars(null)
val completer: Completer = new Completer {
private val cmds = CMDS.map(c => (c.name, c.synopsis, c.group))
@@ -2566,7 +2567,6 @@ object NCCli extends NCCliBase {
reader.unsetOpt(LineReader.Option.INSERT_TAB)
reader.unsetOpt(LineReader.Option.BRACKETED_PASTE)
reader.setOpt(LineReader.Option.DISABLE_EVENT_EXPANSION)
- reader.setOpt(LineReader.Option.AUTO_REMOVE_SLASH)
reader.setVariable(
LineReader.HISTORY_FILE,
new File(SystemUtils.getUserHome, HIST_PATH).getAbsolutePath