Ckath / fuf

Fairly Usable cli Filebrowser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dont uselessly refresh at top/bottom of filelist

Ckath opened this issue · comments

commented

currently when pressing k at the first item or j at the last item a refresh is still called, this is not needed.

commented

theres a lot of edgecases not mentioned here:

  • theres a lot of different ways to move about, not only j/k, this means most sensably you'd check for 'changed scrollposition'
  • checking for changed scrollposition means handling a bunch of edgecases regarding resizing and redraws

due to the lack of a straight forward solution I'm closing this for now, if it poses an issue later on I'll figure something out