All text attributes are set using SGR commands like `\e[1;4m`, with up to 10 numbers separated by semicolons. To restore all attributes to their default states, use SGR 0: `\e[0m` or `\e[m`.
Those are the supported text attributes SGR codes:
Style | Enable | Disable |
---|---|---|
Bold | 1 | 21, 22 |
Faint | 2 | 22 |
Italic | 3 | 23 |
Underlined | 4 | 24 |
9 | 29 | |
Overline | 53 | 55 |
Blink | 5 | 25 |
Inverse | 7 | 27 |
𝔉𝔯𝔞𝔨𝔱𝔲𝔯 | 20 | 23 |
Conceal1 | 8 | 28 |
1Conceal turns all characters invisible.