std::string style(const Term::Style &style)
@ Reversed
swap foreground and background colors
@ Italic
slightly bend text font
@ Crossed
strikes through the text, mostly supported
@ BarLeft
draw a vertical bar on the left side of the character
@ BlinkRapid
MS-DOS ANSI.SYS, 150+ per minute; not widely supported.
@ Reset
resets all attributes (styles and colors)
@ DoubleBarRight
draw a double vertical bar to the right
@ Font10
Fraktur / Gothic font.
@ Underline
draws a line below the text
@ Dim
lighter, slimmer text font
@ Conceal
Note: not widely supported.
@ Font0
Primary or default font.
@ BarRight
draw a vertical bar on the right side of the character
@ DoubleBarLeft
draw a double vertical bar to the left
@ StressMarking
reset all bars left and right double and simple
@ Blink
Sets blinking to less than 150 times per minute.
@ DefaultUnderlineColor
non standard, implemented in Kitty, VTE, mintty, and iTerm2
@ DoublyUnderlinedOrNotBold
Stream & operator<<(Stream &stream, const Term::Style &style_type)