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 cf4fad6 WIP
cf4fad6 is described below
commit cf4fad651508612cb81e8f424b044c20a1ad9e94
Author: Aaron Radzinski <[email protected]>
AuthorDate: Tue Oct 5 10:48:44 2021 -0700
WIP
---
nlpcraft/src/main/scala/org/apache/nlpcraft/common/ansi/NCAnsi.scala | 4 +++-
nlpcraft/src/main/scala/org/apache/nlpcraft/common/util/NCUtils.scala | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git
a/nlpcraft/src/main/scala/org/apache/nlpcraft/common/ansi/NCAnsi.scala
b/nlpcraft/src/main/scala/org/apache/nlpcraft/common/ansi/NCAnsi.scala
index b215ce1..dc9be26 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/common/ansi/NCAnsi.scala
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/common/ansi/NCAnsi.scala
@@ -204,7 +204,9 @@ sealed trait NCAnsi extends LazyLogging:
def ansiCursorShow: String = if (isEnabled) CURSOR_SHOW else ""
def ansiCursorHide: String = if (isEnabled) CURSOR_HIDE else ""
-
+/**
+ *
+ */
object NCAnsi extends NCAnsi:
// Enabled by default.
// NOTE: it's not static as it can be changed at runtime.
diff --git
a/nlpcraft/src/main/scala/org/apache/nlpcraft/common/util/NCUtils.scala
b/nlpcraft/src/main/scala/org/apache/nlpcraft/common/util/NCUtils.scala
index 7a6153e..eff80c5 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/common/util/NCUtils.scala
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/common/util/NCUtils.scala
@@ -28,7 +28,7 @@ import scala.sys.SystemProperties
*/
object NCUtils extends LazyLogging:
final val NL = System getProperty "line.separator"
- private final val RND = new Random()
+ private val RND = new Random()
private val sysProps = new SystemProperties
private val ANSI_FG_8BIT_COLORS = for (i <- 16 to 255) yield ansi256Fg(i)
private val ANSI_BG_8BIT_COLORS = for (i <- 16 to 255) yield ansi256Bg(i)