소스 검색

Clear picker file on cancel

master
Arun Prakash Jana 6 년 전
부모
커밋
9876948a46
No known key found for this signature in database GPG 키 ID: A75979F35C080412
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. +6
    -1
      src/nnn.c

+ 6
- 1
src/nnn.c 파일 보기

@@ -3394,7 +3394,12 @@ nochange:
if (sel == SEL_QUITCD) {
/* In vim picker mode, clear selection and exit */
if (cfg.picker) {
copybufpos = 0;
if (copybufpos) {
if (cfg.pickraw) /* Reset for for raw pick */
copybufpos = 0;
else /* Clear the picker file */
writecp(NULL, 0);
}
dentfree(dents);
return;
}


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