1 ! Copyright (C) 2022 Doug Coleman.
2 ! See https://factorcode.org/license.txt for BSD license.
3 USING: assocs io.styles kernel sequences ;
4 IN: io.streams.escape-codes
6 CONSTANT: font-style-assoc H{
10 { bold-italic "\e[1m\e[3m" }
15 : font-styles ( font-style -- string )
17 [ font-style-assoc at ] map concat