Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 229ef15

Browse files
authored
Update README.md
Add a method to turn off text effects
1 parent 4a6b172 commit 229ef15

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1170,15 +1170,18 @@ Contrary to popular belief, there is no issue in utilizing raw escape sequences.
11701170
11711171
## Text Attributes
11721172
1173+
**NOTE:** Prepend 2 to any code below to turn it's effect off
1174+
(examples: 21=bold text off, 22=faint text off, 23=italic text off).
1175+
11731176
| Sequence | What does it do? |
11741177
| -------- | ---------------- |
1175-
| `\e[m` | Reset text formatting and colors.
1178+
| `\e[m` | Reset text formatting and colors. |
11761179
| `\e[1m` | Bold text. |
11771180
| `\e[2m` | Faint text. |
11781181
| `\e[3m` | Italic text. |
11791182
| `\e[4m` | Underline text. |
1180-
| `\e[5m` | Slow blink. |
1181-
| `\e[7m` | Swap foreground and background colors. |
1183+
| `\e[5m` | Blinking text. |
1184+
| `\e[7m` | Highlighted text. |
11821185
| `\e[8m` | Hidden text. |
11831186
| `\e[9m` | Strike-through text. |
11841187

0 commit comments

Comments
 (0)