made clear console optional

This commit is contained in:
Lars Noack 2022-11-22 11:17:06 +01:00
parent 456648bea1
commit a021b289c0

View File

@ -90,8 +90,9 @@ def get_genre():
return genre
def cli(start_at: int = 0, only_lyrics: bool = False):
clear_console()
def cli(start_at: int = 0, only_lyrics: bool = False, cleare_console: bool = True):
if clear_console:
clear_console()
if start_at <= 2 and not only_lyrics:
genre = get_genre()