From 229ef15789e178ea99470f18fb6462e544a4cc3c Mon Sep 17 00:00:00 2001 From: sal666 Date: Thu, 19 Sep 2019 16:01:03 +0200 Subject: [PATCH] Update README.md Add a method to turn off text effects --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a81bcd1..612ae1b 100644 --- a/README.md +++ b/README.md @@ -1170,15 +1170,18 @@ Contrary to popular belief, there is no issue in utilizing raw escape sequences. ## Text Attributes +**NOTE:** Prepend 2 to any code below to turn it's effect off +(examples: 21=bold text off, 22=faint text off, 23=italic text off). + | Sequence | What does it do? | | -------- | ---------------- | -| `\e[m` | Reset text formatting and colors. +| `\e[m` | Reset text formatting and colors. | | `\e[1m` | Bold text. | | `\e[2m` | Faint text. | | `\e[3m` | Italic text. | | `\e[4m` | Underline text. | -| `\e[5m` | Slow blink. | -| `\e[7m` | Swap foreground and background colors. | +| `\e[5m` | Blinking text. | +| `\e[7m` | Highlighted text. | | `\e[8m` | Hidden text. | | `\e[9m` | Strike-through text. |