cplay-ng

simple curses audio player
git clone https://git.ce9e.org/cplay-ng.git

commit
0247517cee4842b97b997170951ce92344731315
parent
08c04b4655985146d607834ddc7fb139549365a6
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2021-06-26 07:34
fix cursor position

Diffstat

M cplay.py 2 ++

1 files changed, 2 insertions, 0 deletions


diff --git a/cplay.py b/cplay.py

@@ -693,6 +693,8 @@ class Application:
  693   693             if isinstance(line, str):
  694   694                 line = (line, 0)
  695   695             screen.insstr(i, 0, *line)
   -1   696         # make sure cursor is in a meaningful position for a11y
   -1   697         screen.move(self.tab.cursor - self.tab.position + 2, 0)
  696   698         screen.refresh()
  697   699         self.old_lines = lines
  698   700