Fix improper dos line endings
This commit is contained in:
parent
2457fd0aea
commit
d110b23a9f
@ -240,7 +240,7 @@ class Screen(CursesStdIO):
|
|||||||
# This is the last string so lets append some " " to it
|
# This is the last string so lets append some " " to it
|
||||||
s += " " * (self.cols - (col + len(s)) - 1)
|
s += " " * (self.cols - (col + len(s)) - 1)
|
||||||
if isinstance(s, unicode):
|
if isinstance(s, unicode):
|
||||||
#Have to use replace as character counting has already been done
|
#Have to use replace as character counting has already been done\
|
||||||
s = s.encode(self.encoding, 'replace')
|
s = s.encode(self.encoding, 'replace')
|
||||||
self.stdscr.addstr(row, col, s, color)
|
self.stdscr.addstr(row, col, s, color)
|
||||||
col += len(s)
|
col += len(s)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user