aboutsummaryrefslogtreecommitdiff
path: root/cipher/viewer.neb
diff options
context:
space:
mode:
authormryouse2022-06-07 01:22:40 +0000
committermryouse2022-06-07 01:22:40 +0000
commit4848c5256d93b3151fd966a2d03876caf03d4928 (patch)
tree734155ceffca646aa86659c24c99762465729081 /cipher/viewer.neb
parent590e8d6f7b083e558aab83310f08a1a839b3cead (diff)
use ansi
Diffstat (limited to 'cipher/viewer.neb')
-rw-r--r--cipher/viewer.neb6
1 files changed, 2 insertions, 4 deletions
diff --git a/cipher/viewer.neb b/cipher/viewer.neb
index ae99f29..c5d15cb 100644
--- a/cipher/viewer.neb
+++ b/cipher/viewer.neb
@@ -1,6 +1,4 @@
-;(func ascii-grey (inp)
-; (print (concat "\033[31;1;4m" inp "\033[0m"))
-; (concat "\033[90m" inp "\033[0m"))
+(use "../libs/ansi.neb")
(func keys (assoc)
(map first assoc))
@@ -19,7 +17,7 @@
(concat out
(if (in? _item_ (keys codex))
(get codex _item_)
- (ascii-gray _item_)))))
+ (ansi-bright-black _item_)))))
out)
(func print-codex (codex)