summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authornasrlol <nsrddyn@gmail.com>2025-02-18 21:12:35 +0100
committernasrlol <nsrddyn@gmail.com>2025-02-18 21:12:35 +0100
commit6334869a10cf038f67fb1192b531cd4deaf4ea49 (patch)
tree5919c2c0c518843438a7e4a4ff1509a728d36e1e /main.c
parentdcf4c564a03f6ebde88e301ff2135a2b2e00dba9 (diff)
thought that clearing the terminal before showing the shell would give it a more real experience
Signed-off-by: nasrlol <nsrddyn@gmail.com>
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index 80a5fe7..6c81cfb 100644
--- a/main.c
+++ b/main.c
@@ -81,6 +81,7 @@ void change_directory(const char *path) {
}
int main(void) {
+ clear();
while (1) {
printf("\n$ ");