Skip to content

Commit

Permalink
Update terminal.py
Browse files Browse the repository at this point in the history
  • Loading branch information
GitGinocchio committed Dec 21, 2024
1 parent 09bec39 commit 1620704
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/terminal.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

def clear():
"""call the command for clearing the terminal depending on your system"""
subprocess.run("cls" if os.name == "nt" else "clear", shell=True)
subprocess.run("cls" if os.name == "nt" else "clear")

def erase():
"""Erase last terminal line (this should work on all systems)"""
Expand Down

0 comments on commit 1620704

Please sign in to comment.