Handbook
Glossary
fg-colors ( use-dim -- colormap )
Vocabulary
io
.
streams
.
ansi
.
private
Inputs
use-dim
an
object
Outputs
colormap
an
object
Definition
USING:
assocs
kernel
math
sequences
;
IN:
io.streams.ansi.private
MEMO:
fg-colors
( use-dim -- colormap )
bg-colors
[
[
rest
]
[
first
10
-
]
bi
prefix
]
map-values
swap
[
H{
{
{
0 2/5 2/5
}
{
36 2
}
}
{
{
0 2/5 0
}
{
32 2
}
}
{
{
0 0 2/5
}
{
34 2
}
}
{
{
2/5 0 2/5
}
{
35 2
}
}
{
{
2/5 1/5 0
}
{
33 2
}
}
{
{
2/5 2/5 2/5
}
{
37 2
}
}
{
{
2/5 0 0
}
{
31 2
}
}
}
assoc-union
]
when
;