Skip to content

Commit 5f26fc7

Browse files
authored
Update README.md
Added additional description for the <r> tag.
1 parent b5cc473 commit 5f26fc7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ from termicol.termicol import *
5858

5959
tprint("<t=red><b=blue><d=underline>This will be underlined red text with blue background!")
6060
```
61+
```py
62+
from termicol.termicol import *
63+
64+
tprint("<t=red><b=blue>This will be red text with a blue background!<r>This will now be the default text.<t=red> Back to red text!<b=white> A blue backround is added.<r=b> Background is now default.")
65+
```
6166
6267
<br />
6368
<br />
@@ -72,3 +77,6 @@ Valid tags to utilize:
7277
- d | deco | decorations
7378
- Will add in decorations based on what is provided, must be ones provided in the `showDecorationList()` function.
7479
- \<d=underline\> | \<d=underline,italic\>
80+
- r
81+
- Will reset back to default, you can also specify what to reset and provide a list (but only accepts t,b,d).
82+
- \<r\> | \<r=td\>

0 commit comments

Comments
 (0)