From c3728efb86a98e103c91e21a234bb94296350f79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6ktu=C4=9F=20Karaka=C5=9Fl=C4=B1?= <20567087+goktug97@users.noreply.github.com> Date: Thu, 19 Dec 2019 09:34:41 +0300 Subject: [PATCH] fix duplicate line --- README.md | 2 +- setup.py | 4 ++-- spotify_lyrics.py | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f67cb06..34a9d5a 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Yet Another Spotify Command Line Lyrics ========================================== -![Lyrics-Screenshot](https://github.com/goktug97/yet-another-spotify-lyrics/blob/master/screenshot.jpg) +![Lyrics-Screenshot](https://raw.githubusercontent.com/goktug97/yet-another-spotify-lyrics/master/screenshot.jpg) ## Requirements * ueberzug diff --git a/setup.py b/setup.py index 365cdf4..b64f30d 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ long_description = f.read() setup(name='yet-another-spotify-lyrics', - version='1.0.1', + version='1.0.2', description='Command Line Spotify Lyrics with Album Cover', author='Göktuğ Karakaşlı', author_email='karakasligk@gmail.com', @@ -17,7 +17,7 @@ long_description_content_type='text/markdown', url='https://github.com/goktug97/yet-another-spotify-lyrics', download_url=( - 'https://github.com/goktug97/yet-another-spotify-lyrics/archive/v1.0.1.tar.gz'), + 'https://github.com/goktug97/yet-another-spotify-lyrics/archive/v1.0.2.tar.gz'), py_modules=[os.path.splitext(os.path.basename(path))[0] for path in ['spotify_lyrics']], entry_points={ diff --git a/spotify_lyrics.py b/spotify_lyrics.py index 59f082c..86d3ed0 100755 --- a/spotify_lyrics.py +++ b/spotify_lyrics.py @@ -173,6 +173,8 @@ def main(canvas): for i in range(current_line, current_line + n_entries): delete_line() print(boldify(wrapped_lines[i])) + move_cursor(0, n_entries+start_row) + delete_line() c = key_poller.poll() if c == 'q':