Revert "Fixed broken character in windows"

This commit is contained in:
Georgios Verigakis
2018-01-31 10:22:22 +02:00
parent 83f3b79137
commit 292a031c4b

View File

@@ -60,7 +60,7 @@ class WritelnMixin(object):
def clearln(self): def clearln(self):
if self.file.isatty(): if self.file.isatty():
print('\r' if sys.platform.startswith('win') else '\r\x1b[K', end='', file=self.file) print('\r\x1b[K', end='', file=self.file)
def writeln(self, line): def writeln(self, line):
if self.file.isatty(): if self.file.isatty():