Browse Source

Recall current item on refresh or sorting mode change

master
lostd 10 years ago
parent
commit
108996a802
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      noice.c

+ 6
- 0
noice.c View File

@@ -858,8 +858,14 @@ moretyping:
goto begin;
case SEL_MTIME:
mtimeorder = !mtimeorder;
/* Save current */
if (n > 0)
oldpath = makepath(path, dents[cur].name);
goto begin;
case SEL_REDRAW:
/* Save current */
if (n > 0)
oldpath = makepath(path, dents[cur].name);
goto begin;
case SEL_RUN:
exitcurses();


Loading…
Cancel
Save