소스 검색

Reload contents on archive create, extract

master
Arun Prakash Jana 6 년 전
부모
커밋
33cec52d4e
No known key found for this signature in database 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 */


불러오는 중...
취소
저장