sprintf added, terminal colors

small code fixes and rearangements
This commit is contained in:
2021-03-09 22:57:16 +01:00
parent b4862ee196
commit 3f46ae9c94
10 changed files with 392 additions and 13 deletions

View File

@@ -158,4 +158,20 @@
(print "list:" l)
(print "flatten-ed list:" (flatten l))
(print (sprintf "%.2f" '(1.23456)))
(print (sprintf "%d" '(10000000)))
(print (term-red "red text"))
(print (term-green "green text"))
(print (term-yellow "yellow text"))
(print (term-blue "blue text"))
(print (term-magenta "magenta text"))
(print (term-cyan "cyan text"))
(print (term-white "white text"))
(print (term-bold "bold text"))
(print (term-underline "underline text"))
(print "normal text")
(print "Test ends")