mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Recall current item on refresh or sorting mode change
This commit is contained in:
parent
dcde076371
commit
108996a802
6
noice.c
6
noice.c
|
@ -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…
Reference in a new issue