sprintf added, terminal colors
small code fixes and rearangements
This commit is contained in:
@@ -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")
|
||||
Reference in New Issue
Block a user