summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.c b/main.c
index 7ed0cee..797329d 100644
--- a/main.c
+++ b/main.c
@@ -111,5 +111,8 @@ int main(void) {
printf("%s", new_input.arg);
free(new_input.arg);
}
+ if (strcmp(new_input.com, "clear") == 0) {
+ clear();
+ }
}
}