Better support terminals behaving like urxvt (#101).

This terminal was allowing backspaces (\b) to bypass column zero on the
current row, completely breaking the current way gitinspector was
clearing text outputted to the currently active row.
This commit is contained in:
Adam Waldenberg 2016-02-03 13:34:16 +01:00
parent 738d6a1195
commit a6dd07a394
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ def __get_size_linux__():
return int(size[1]), int(size[0])
def clear_row():
print("\b" * 200, end="")
print("\r", end="")
def skip_escapes(skip):
if skip: