Skip to content

Commit

Permalink
make progress bar cursor move to next line
Browse files Browse the repository at this point in the history
  • Loading branch information
mjishnu committed Nov 9, 2024
1 parent 1bfc734 commit 75145bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pypdl/utls.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ def __init__(self, display: bool):
self.display = display

def clear(self) -> None:
sys.stdout.write("\n")
sys.stdout.write("\033c") # Clear screen
sys.stdout.write("\x1b[?25l") # Hide cursor

Expand Down

0 comments on commit 75145bc

Please sign in to comment.