diff options
Diffstat (limited to 'ansi.py')
| -rwxr-xr-x | ansi.py | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1619,6 +1619,11 @@ def clear_screen() -> str: return "[H[2J" +def clear_line() -> str: + """Clear the current line ANSI escape sequence""" + return "[2K\r" + + def reset() -> str: """Reset text attributes to 'normal'""" return "[m" |
