aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornytpu <alex@nytpu.com>2021-06-04 16:54:11 -0600
committernytpu <alex@nytpu.com>2021-06-04 16:54:11 -0600
commit2e3d4f28ab1e3b337ab939ec843205a264995db4 (patch)
tree0323a5169047428b393513b23e955dde909f5880
parentREADME revisions (diff)
downloaded-2e3d4f28ab1e3b337ab939ec843205a264995db4.tar.bz2
ed-2e3d4f28ab1e3b337ab939ec843205a264995db4.zip
remove debug printfs
-rw-r--r--main.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/main.c b/main.c
index 4d690c5..7829743 100644
--- a/main.c
+++ b/main.c
@@ -88,18 +88,12 @@ main(int argc, char *argv[])
open_file(argv[optind], true);
}
- // DEBUG
- printf("#: %ld; c: %ld\n", E.numrows, E.crow);
-
char *line = NULL;
while ((line = linenoise(E.prompt_enabled ? E.prompt : "")) != NULL) {
struct command cmd;
int ret = parse_command(&cmd, line);
if (ret < 0) continue;
- // DEBUG
- printf("s: %ld; e: %ld\n", cmd.start, cmd.end);
-
switch (cmd.command) {
case 'a':
insert_mode(cmd.end+1);