We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 969bc11 commit fa0a1eaCopy full SHA for fa0a1ea
interpreter/ui/markdown.py
@@ -22,6 +22,9 @@ class MarkdownElement(Enum):
22
23
class MarkdownRenderer:
24
def __init__(self):
25
+ if os.name == "nt":
26
+ import colorama
27
+ colorama.init()
28
# ANSI escape codes
29
self.BOLD = "\033[1m"
30
self.CODE = "\033[7m" # Regular inline code stays inverted
interpreter/ui/tool.py
@@ -14,6 +14,9 @@
14
15
class ContentRenderer:
16
def __init__(self, style):
17
18
19
20
self.buffer = ""
21
self.started = False
self.style = style
0 commit comments