fixed tab input not working

This commit is contained in:
Alessandro Mauri 2019-11-26 15:30:21 +01:00
parent 3e17079452
commit 8a94a7bcb8
2 changed files with 3 additions and 2 deletions

4
.gitignore vendored
View File

@ -3,4 +3,6 @@ dbg
hello
ste.c.*
*.bak
.sconsign*
.sconsign*
.sconsign.dblite
*.o

View File

@ -145,7 +145,6 @@ int main (int argc, char *argv[])
break;
default:
if (iscntrl(c)) break;
if (c == KEY_STAB) c = '\t';
rowAddChar(&rows.rw[t.cur.y], c, t.cur.x);
t.cur.x++;