From bc41cc3a244bf47679d1c47d17006a2aa7356bc8 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 29 Jan 2019 16:16:45 -0800 Subject: Switched to have colors/utf8 be optional, fixed an issue with currently running files leaking when errors occurred (causing spurious circular import errors), and improved tutorial. --- lib/tools/repl.nom | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/tools/repl.nom') diff --git a/lib/tools/repl.nom b/lib/tools/repl.nom index 3d2318c..029df4a 100755 --- a/lib/tools/repl.nom +++ b/lib/tools/repl.nom @@ -52,7 +52,8 @@ command line program with $args: if (($line == "\n") or (not $line)): if ((size of $buff) > 0): # clear the line - say "\027[1A\027[2K" inline + if $(COLOR ENABLED): + say "\027[1A\027[2K" inline go to (run buffer) $buff, add ($line, with "\t" -> " ") say (dim (yellow ".. ")) inline -- cgit v1.2.3