summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r5p6.le-101.fr>2019-10-29 13:54:42 +0100
committerRudy Bousset <rbousset@z2r5p6.le-101.fr>2019-10-29 13:54:42 +0100
commit53a5dc3296b363cdb3375dfa7ef3ff582d3cbd1b (patch)
tree54b22e10c806be22e1d7e3c2be5f848d012f5ab8 /src/main.c
parenttons of changes (diff)
download42-minishell-53a5dc3296b363cdb3375dfa7ef3ff582d3cbd1b.tar.gz
42-minishell-53a5dc3296b363cdb3375dfa7ef3ff582d3cbd1b.tar.bz2
42-minishell-53a5dc3296b363cdb3375dfa7ef3ff582d3cbd1b.tar.xz
42-minishell-53a5dc3296b363cdb3375dfa7ef3ff582d3cbd1b.tar.zst
42-minishell-53a5dc3296b363cdb3375dfa7ef3ff582d3cbd1b.zip
commit, lotta stuff
Diffstat (limited to '')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 5db5fb7..9df9d88 100644
--- a/src/main.c
+++ b/src/main.c
@@ -29,6 +29,7 @@ int
arg = NULL;
while (1)
{
+ write(1, "joe-sh~> ", 9);
if (arg)
{
free(arg);
@@ -36,7 +37,6 @@ int
}
if (!(arg = (char*)ft_calloc(129, sizeof(char))))
return (1);
- write(1, "joe-shell~> ", 12);
i = 0;
while (read(1, &c, 1) > 0)
{