mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-08 13:44:59 +00:00
fix test for windows
This commit is contained in:
parent
27a6006328
commit
a888f0dcf2
2 changed files with 5 additions and 7 deletions
|
@ -95,12 +95,7 @@ class MarkdownStream:
|
|||
show = lines[num_printed:num_lines]
|
||||
show = "".join(show)
|
||||
show = Text.from_ansi(show)
|
||||
try:
|
||||
self.live.console.print(show)
|
||||
except UnicodeEncodeError as err:
|
||||
print("unicode error", err)
|
||||
print("show string", repr(show.encode("utf-8")))
|
||||
raise err
|
||||
self.live.console.print(show)
|
||||
|
||||
self.printed = lines[:num_lines]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue