summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorAbdellah El Morabit <nsrddyn@gmail.com>2025-02-19 11:35:36 +0100
committerAbdellah El Morabit <nsrddyn@gmail.com>2025-02-19 11:35:36 +0100
commite597a55f78a234e9a171dadba44896ef0d11e9b7 (patch)
tree7d0eac57a88ee7a4ac5dd05caa02f69c6a7bd761 /main.c
parent61359f6e6656a6996c8de3d95c622b65a2a00b3b (diff)
redesigned the main function, its way smaller now
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index 5744178..db8a7fe 100644
--- a/main.c
+++ b/main.c
@@ -206,7 +206,8 @@ void change_directory(const char *path) {
}
int main(void) {
- clear();
+ clear(NULL);
+ // ReSharper disable once CppDFAEndlessLoop
while (1) {
printf("\n$ ");