mirror of
https://github.com/ejwa/gitinspector.git
synced 2024-11-16 00:28:25 +01:00
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:
parent
738d6a1195
commit
a6dd07a394
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ def __get_size_linux__():
|
||||||
return int(size[1]), int(size[0])
|
return int(size[1]), int(size[0])
|
||||||
|
|
||||||
def clear_row():
|
def clear_row():
|
||||||
print("\b" * 200, end="")
|
print("\r", end="")
|
||||||
|
|
||||||
def skip_escapes(skip):
|
def skip_escapes(skip):
|
||||||
if skip:
|
if skip:
|
||||||
|
|
Loading…
Reference in a new issue