File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -133,6 +133,9 @@ def __convertParsedContent(content: list):
133
133
if 'd' in reset : decorations = []
134
134
newcontent .append ('\033 [0m' )
135
135
136
+ elif '<nl>' in content [i ]:
137
+ newcontent .append ('\n ' )
138
+
136
139
elif any ([True for code in __Codes ['textcolor' ] if code in content [i ]]):
137
140
color = content [i ].split ('=' )[1 ].replace ('>' ,'' )
138
141
if color in __Colors : textColor = __createColor (__Colors [color ], content [i ])
@@ -196,4 +199,4 @@ def tprint(content: str, end = '\n') -> None:
196
199
'''
197
200
Sends content to python's print function after additional parsing and reconstructing.
198
201
'''
199
- print (__convertParsedContent (__parseContent (content )), end = end )
202
+ print (__convertParsedContent (__parseContent (content )), end = end )
You can’t perform that action at this time.
0 commit comments