Beispiel #1
0
void		ft_go_down(t_group *grp)
{
	int i;

	i = -1;
	while (++i < TERM(window->width) && TERM(curs_pos) < TERM(cmd_size))
		ft_right_arrow(grp);
}
Beispiel #2
0
void		ft_go_end(t_term *term)
{
	int i;

	i = term->cursorpos;
	if (term->cursorpos < term->cmdlength)
		while (i++ < term->cmdlength)
			ft_right_arrow(term);
}
Beispiel #3
0
void		ft_go_end(t_group *grp)
{
	while (TERM(curs_pos) < TERM(cmd_size))
		ft_right_arrow(grp);
}