diff --git a/ste.c b/ste.c index ca967ed..92ff6f6 100644 --- a/ste.c +++ b/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++;