소스 검색

Key \ only works in empty prompt

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

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

@@ -2074,13 +2074,12 @@ static int filterentries(char *path)
if (r == OK) {
/* Handle all control chars in main loop */
if ((*ch < ASCII_MAX && keyname(*ch)[0] == '^' && *ch != '^')
|| (*ch == '\\')) {
|| (*ch == '\\' && len == 1)) {
DPRINTF_D(*ch);
DPRINTF_S(keyname(*ch));

/* If there's a filter, try a command on ^P */
if (cfg.filtercmd && (*ch == CONTROL('P') || *ch == '\\')
&& len > 1) {
if (cfg.filtercmd && *ch == CONTROL('P') && len > 1) {
prompt_run(pln, (ndents ? dents[cur].name : ""), path);

/* Clear the prompt */


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