summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_m_prompt.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ft_m_prompt.c b/src/ft_m_prompt.c
index d6a73fd..4c4cc41 100644
--- a/src/ft_m_prompt.c
+++ b/src/ft_m_prompt.c
@@ -11,18 +11,20 @@
/* ************************************************************************** */
#include <libft.h>
+#include <unistd.h>
+
#include "ft_m_prompt.h"
#include "ft_s_struct.h"
void
ft_m_cont_prompt(void)
{
- ft_printf("> ");
+ ft_dprintf(STDIN_FILENO, "> ");
/* TODO :ft_printf("%s", msh->ps_two); */
}
void
ft_m_prompt(t_msh *msh)
{
- ft_printf("%s", msh->ps_one);
+ ft_dprintf(STDIN_FILENO, "%s", msh->ps_one);
}