20 lines
1,018 B
C
20 lines
1,018 B
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_line_end.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: jhalford <marvin@42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2016/11/10 13:44:33 by jhalford #+# #+# */
|
|
/* Updated: 2016/11/10 13:44:33 by jhalford ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "line_editing.h"
|
|
|
|
int ft_line_end(t_data *data, char *buf)
|
|
{
|
|
while (ft_cursor_right(data, buf))
|
|
;
|
|
return (0);
|
|
}
|