mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-07 21:24:59 +00:00
added debug output
This commit is contained in:
parent
1a455e799e
commit
2428c60456
1 changed files with 6 additions and 1 deletions
|
@ -95,7 +95,12 @@ class MarkdownStream:
|
||||||
show = lines[num_printed:num_lines]
|
show = lines[num_printed:num_lines]
|
||||||
show = "".join(show)
|
show = "".join(show)
|
||||||
show = Text.from_ansi(show)
|
show = Text.from_ansi(show)
|
||||||
self.live.console.print(show)
|
try:
|
||||||
|
self.live.console.print(show)
|
||||||
|
except UnicodeEncodeError as err:
|
||||||
|
print(err)
|
||||||
|
print(show)
|
||||||
|
print(repr(show))
|
||||||
|
|
||||||
self.printed = lines[:num_lines]
|
self.printed = lines[:num_lines]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue