Skip to content

Commit

Permalink
‼️ clear the screen when the cli is exited
Browse files Browse the repository at this point in the history
  • Loading branch information
TrueMyst committed Jan 10, 2025
1 parent 78ac1f3 commit e4a90a0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cli/prompt.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,8 @@ def create_poster():

if track:
lyrics = handle_lyrics(track)

exutils.clear()
ps.track(track, lyrics, accent, theme, image)
else:
album = select_album(conf.SEARCH_LIMIT)
Expand All @@ -256,5 +258,6 @@ def main():
try:
create_poster()
except KeyboardInterrupt:
print("╰─ 👋 Alright, no problem! See you next time.")
exutils.clear()
print("👋 Alright, no problem! See you next time.")
exit(1)

0 comments on commit e4a90a0

Please sign in to comment.