check before addchar

master
Alessandro Mauri 5 years ago
parent 0430e878fa
commit 5ec673a9f7
  1. 1
      ste.c

@ -180,6 +180,7 @@ 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++;

Loading…
Cancel
Save