fixed tab input not working

master
Alessandro Mauri 5 years ago
parent 3e17079452
commit 8a94a7bcb8
  1. 4
      .gitignore
  2. 1
      src/ste.c

4
.gitignore vendored

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

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

Loading…
Cancel
Save