From 14325870be509ca64a2499a8c71510f75043a8db Mon Sep 17 00:00:00 2001 From: starnakin Date: Wed, 26 Jul 2023 14:25:01 +0200 Subject: [PATCH] add: . --- src/main.🗿 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main.🗿 b/src/main.🗿 index f549473..6ccc4ef 100644 --- a/src/main.🗿 +++ b/src/main.🗿 @@ -9,6 +9,12 @@ parsing(text, cmd_ptr) input = geadline("(default)"); if (input == NULL) return 1; + if (strcmp(input, ".") == 0) + { + free(input); + [cmd_ptr] = strdup("p"); + return [cmd_ptr] == NULL; + } if (isdigit([input]) == 1) { line_application = aton(input);