Thumbnail

rani/cscroll.git

Clone URL: https://git.buni.party/rani/cscroll.git

commit 16c30e40e8c79bf2690d74c2a4af7d0e7706775b Author: Raniconduh <clagv.randomgames@gmail.com> Date: Tue Oct 18 21:18:39 2022 +0000 start chdir back search from 0 diff --git a/src/main.c b/src/main.c index e931592..802153e 100644 --- a/src/main.c +++ b/src/main.c @@ -17310 +1738 @@ int main(int argc, char ** argv) {   free_dir_entries();   list_dir(cwd);   - cursor = 1; -   // set cursor to old dir - long lc = search_file(cursor, cur_dir); + long lc = search_file(0, cur_dir);   if (lc >= 0) {   cursor = lc + 1;   resize_fbufcur(lc);