cplay-ng

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

commit
4f9354d3b77163509503b2ca297aaf53bc49f71e
parent
ed656234e1da1bc0a6cc4aff13282a24f7bdd6ac
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2026-04-24 16:22
move cursor to top on filter

Diffstat

M cplay.py 2 +-

1 files changed, 1 insertions, 1 deletions


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

@@ -476,11 +476,11 @@ class Filelist(List):
  476   476             for path in base:
  477   477                 if str_match(query, self.format_item(path)):
  478   478                     self.items.append(path)
   -1   479             self.set_cursor(0)
  479   480         else:
  480   481             self.items = self.all_items
  481   482 
  482   483         self.rsearch_str = query
  483    -1         self.set_cursor(self.cursor)
  484   484 
  485   485     def activate(self, item):
  486   486         ext = item.rsplit('.', 1)[-1]