소스 검색

Handle some keys as special only if filter is empty

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

+ 3
- 3
src/nnn.c 파일 보기

@@ -2085,12 +2085,12 @@ static int filterentries(char *path)
switch (*ch) {
case '/': /* works as Leader key in filter mode */
*ch = CONTROL('_'); // fallthrough
case ':':
case ';':
if (len == 1)
cur = oldcur;
goto end;
case '?': /* '?' is an invalid regex, show help instead */
case ':': // fallthrough /* Run plugin keys */
case ';': // fallthrough
case '?': /* Help and config key, '?' is an invalid regex */
if (len == 1) {
cur = oldcur;
goto end;


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