mirror of
https://github.com/jarun/nnn.git
synced 2025-02-26 03:01:32 +00:00
Recall current item on refresh or sorting mode change
This commit is contained in:
parent
dcde076371
commit
108996a802
1 changed files with 6 additions and 0 deletions
6
noice.c
6
noice.c
|
@ -858,8 +858,14 @@ moretyping:
|
||||||
goto begin;
|
goto begin;
|
||||||
case SEL_MTIME:
|
case SEL_MTIME:
|
||||||
mtimeorder = !mtimeorder;
|
mtimeorder = !mtimeorder;
|
||||||
|
/* Save current */
|
||||||
|
if (n > 0)
|
||||||
|
oldpath = makepath(path, dents[cur].name);
|
||||||
goto begin;
|
goto begin;
|
||||||
case SEL_REDRAW:
|
case SEL_REDRAW:
|
||||||
|
/* Save current */
|
||||||
|
if (n > 0)
|
||||||
|
oldpath = makepath(path, dents[cur].name);
|
||||||
goto begin;
|
goto begin;
|
||||||
case SEL_RUN:
|
case SEL_RUN:
|
||||||
exitcurses();
|
exitcurses();
|
||||||
|
|
Loading…
Add table
Reference in a new issue