From 8a94a7bcb85352862f2d96e3809c42131192852a Mon Sep 17 00:00:00 2001 From: gunboy001 Date: Tue, 26 Nov 2019 15:30:21 +0100 Subject: [PATCH] fixed tab input not working --- .gitignore | 4 +++- src/ste.c | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 01b8e57..fcc1536 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,6 @@ dbg hello ste.c.* *.bak -.sconsign* \ No newline at end of file +.sconsign* +.sconsign.dblite +*.o \ No newline at end of file diff --git a/src/ste.c b/src/ste.c index de0578d..cc8faa3 100644 --- a/src/ste.c +++ b/src/ste.c @@ -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++;