mirror of
https://github.com/ejwa/gitinspector.git
synced 2024-11-16 00:28:25 +01:00
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:
parent
9b5bbc469f
commit
139f5306f4
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue