소스 검색

Reset current on empty filter prompt

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

+ 2
- 7
nnn.c 파일 보기

@@ -912,14 +912,9 @@ readln(char *path)
redraw(path);
printprompt(ln);
break;
case KEY_DOWN: // fallthrough
case KEY_UP: // fallthrough
case KEY_LEFT: // fallthrough
case KEY_RIGHT: // fallthrough
case KEY_F(2):
if (len == 1)
cur = oldcur; // fallthrough
default:
if (len == 1)
cur = oldcur;
goto end;
}
end:


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