42-archive/42sh/src/line-editing/ft_prompt.c
2016-12-15 18:32:48 +01:00

24 lines
1 KiB
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_prompt.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: jhalford <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/11/10 14:22:34 by jhalford #+# #+# */
/* Updated: 2016/12/15 15:07:13 by jhalford ### ########.fr */
/* */
/* ************************************************************************** */
#include "line_editing.h"
int ft_prompt(void)
{
t_data *data;
data = data_singleton();
do_job_notification();
DG("new prompt now");
ft_putstr(SHELL_PROMPT);
return (0);
}