浏览代码

Reload contents on archive create, extract

master
Arun Prakash Jana 7 年前
父节点
当前提交
33cec52d4e
找不到此签名对应的密钥 GPG 密钥 ID: A75979F35C080412
共有 1 个文件被更改,包括 23 次插入1 次删除
  1. +23
    -1
      nnn.c

+ 23
- 1
nnn.c 查看文件

@@ -2936,6 +2936,19 @@ nochange:
printmsg(newpath);
goto nochange;
}

/* In case of successful archive extract, reload contents */
if (sel == SEL_EXTRACT) {
/* Continue in navigate-as-you-type mode, if enabled */
if (cfg.filtermode)
presel = FILTER;

/* Save current */
copycurname();

/* Repopulate as directory content may have changed */
goto begin;
}
}
break;
case SEL_DFB:
@@ -3108,7 +3121,16 @@ nochange:
}

spawn(utils[APACK], tmp, dents[cur].name, path, F_NORMAL);
continue;

/* Continue in navigate-as-you-type mode, if enabled */
if (cfg.filtermode)
presel = FILTER;

/* Save current */
copycurname();

/* Repopulate as directory content may have changed */
goto begin;
}

/* Open the descriptor to currently open directory */


正在加载...
取消
保存