fixed #1665

parent bee3b7c7
......@@ -284,12 +284,15 @@ class TextWin(Win):
def write_text(self, y, x, txt, color):
return the number of line written, -1
write the text of a line.
txt = txt.encode('utf-8')
if color:, x, txt)
try:, x, txt)
except: # bug 1665
if color:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment