Handbook
Glossary
color>foreground ( color -- string )
Vocabulary
io
.
streams
.
ansi
.
private
Inputs
color
an
object
Outputs
string
an
object
Definition
USING:
formatting
kernel
math
;
IN:
io.streams.ansi.private
MEMO:
color>foreground
( color -- string )
color>ansi
[
30
+
]
[
"m"
";1m"
?
]
bi*
"\e[%d%s"
sprintf
;