diff --git a/crates/libtiny_tui/src/config.rs b/crates/libtiny_tui/src/config.rs index e0889429..9e5d6441 100644 --- a/crates/libtiny_tui/src/config.rs +++ b/crates/libtiny_tui/src/config.rs @@ -389,7 +389,12 @@ const COLORS: [(&str, u16); 17] = [ ("white", 15), ]; -const ATTRS: [(&str, u16); 2] = [("bold", TB_BOLD), ("underline", TB_UNDERLINE)]; +const ATTRS: [(&str, u16); 4] = [ + ("bold", TB_BOLD), + ("underline", TB_UNDERLINE), + ("italic", TB_ITALIC), + ("strikethrough", TB_STRIKETHROUGH), +]; fn parse_color(val: String) -> Option { for &(name, color) in &COLORS {