Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
Immanuel
/
nnn
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Pull Requests
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
Ignore TAB in input prompt
master
Arun Prakash Jana
8 anni fa
parent
9638ed148d
commit
f1a27e21af
Non sono state trovate chiavi note per questa firma nel database
ID Chiave GPG:
A75979F35C080412
1 ha cambiato i file
con
4 aggiunte
e
0 eliminazioni
Visualizzazione separata
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
nnn.c
+ 4
- 0
nnn.c
Vedi File
@@ -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;
Write
Preview
Loading…
Annulla
Salva