diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-01-29 16:16:45 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-01-29 16:17:33 -0800 |
| commit | bc41cc3a244bf47679d1c47d17006a2aa7356bc8 (patch) | |
| tree | 102ec25b54f795d7a24648faa129f4dbccef3619 /lib/tools/repl.nom | |
| parent | febe7e82e06e1071c312f449b1ced319ef9a6932 (diff) | |
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.
Diffstat (limited to 'lib/tools/repl.nom')
| -rwxr-xr-x | lib/tools/repl.nom | 3 |
1 files changed, 2 insertions, 1 deletions
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 |
