소스 검색

Ignore TAB in input prompt

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

+ 4
- 0
nnn.c 파일 보기

@@ -1059,6 +1059,10 @@ xreadline(char *fname)
continue;
}

/* TAB breaks cursor position, ignore it */
if (*ch == TAB || *ch == '\t')
continue;

if (pos < buflen) {
memmove(buf + pos + 1, buf + pos, (len - pos) << 2);
buf[pos] = *ch;


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