Handbook
Glossary
ansi-font-style ( font-style -- string )
Vocabulary
io
.
streams
.
escape-codes
Inputs
font-style
a style or sequence of styles
Outputs
string
a
string
Word description
Returns a string containing one or more ANSI escape sequences implementing the given style(s).
Definition
USING:
assocs
io.streams.escape-codes.private
kernel
sequences
;
IN:
io.streams.escape-codes
:
ansi-font-style
( font-style -- string )
dup
sequence?
[
[
ansi-font-styles
at
]
map
concat
]
[
ansi-font-styles
at
]
if
""
or
;