This is an automated email from the ASF dual-hosted git repository.

aradzinski pushed a commit to branch NLPCRAFT-384
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git


The following commit(s) were added to refs/heads/NLPCRAFT-384 by this push:
     new aa5e49c  Update NCCli.scala
aa5e49c is described below

commit aa5e49cc44ea5f9adeccadec87ce1a21fd71c981
Author: Aaron Radzinski <[email protected]>
AuthorDate: Tue Aug 17 20:10:58 2021 -0700

    Update NCCli.scala
---
 .../main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 473be49..ed6eec5 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
@@ -3260,8 +3260,8 @@ object NCCli extends NCCliBase {
             .system(true)
             .nativeSignals(true)
             .signalHandler(Terminal.SignalHandler.SIG_IGN)
-            .dumb(true)
-            .jansi(true)
+            .jansi(SystemUtils.IS_OS_UNIX)
+            .jna(SystemUtils.IS_OS_WINDOWS)
             .build()
 
         // Process 'no-ansi' and 'ansi' commands first (before ASCII title is 
shown).

Reply via email to