42-archive/42sh/src/line-editing/ft_line_start.c
2016-11-10 17:05:15 +01:00

20 lines
1 KiB
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_line_start.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: jhalford <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/11/10 13:44:34 by jhalford #+# #+# */
/* Updated: 2016/11/10 13:44:34 by jhalford ### ########.fr */
/* */
/* ************************************************************************** */
#include "line_editing.h"
int ft_line_start(t_data *data, t_dlist **input_chain, char *buf)
{
while (ft_cursor_left(data, input_chain, buf))
;
return (0);
}