summaryrefslogtreecommitdiffstats
path: root/src/m_prompt.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-27 18:55:07 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-27 18:55:07 +0200
commit487a66394061f2d14a2fa421302966b5442d643f (patch)
tree34237d4e9cb85f94bcefd46f399d2224dff3f6b3 /src/m_prompt.c
parentCorrect shell prompt (diff)
download42-minishell-487a66394061f2d14a2fa421302966b5442d643f.tar.gz
42-minishell-487a66394061f2d14a2fa421302966b5442d643f.tar.bz2
42-minishell-487a66394061f2d14a2fa421302966b5442d643f.tar.xz
42-minishell-487a66394061f2d14a2fa421302966b5442d643f.tar.zst
42-minishell-487a66394061f2d14a2fa421302966b5442d643f.zip
I couldn't see shit
Diffstat (limited to '')
-rw-r--r--src/m_prompt.c (renamed from src/ft_m_prompt.c)10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ft_m_prompt.c b/src/m_prompt.c
index 4c4cc41..34aae09 100644
--- a/src/ft_m_prompt.c
+++ b/src/m_prompt.c
@@ -1,7 +1,7 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
-/* ft_m_prompt.c :+: :+: :+: */
+/* m_prompt.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
@@ -13,18 +13,18 @@
#include <libft.h>
#include <unistd.h>
-#include "ft_m_prompt.h"
-#include "ft_s_struct.h"
+#include "m_prompt.h"
+#include "s_struct.h"
void
- ft_m_cont_prompt(void)
+ m_cont_prompt(void)
{
ft_dprintf(STDIN_FILENO, "> ");
/* TODO :ft_printf("%s", msh->ps_two); */
}
void
- ft_m_prompt(t_msh *msh)
+ m_prompt(t_msh *msh)
{
ft_dprintf(STDIN_FILENO, "%s", msh->ps_one);
}