Better support terminals behaving like urxvt (Fixes #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-01-21 00:22:52 +01:00
parent 9b5bbc469f
commit 139f5306f4

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: