24 lines
1 KiB
C
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);
|
|
}
|