diff --git a/42sh/includes/ft_input.h b/42sh/includes/ft_input.h index 2a930193..6d83c8c1 100644 --- a/42sh/includes/ft_input.h +++ b/42sh/includes/ft_input.h @@ -6,7 +6,7 @@ /* By: sbenning +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2016/12/09 02:05:22 by sbenning #+# #+# */ -/* Updated: 2016/12/12 14:32:27 by sbenning ### ########.fr */ +/* Updated: 2016/12/14 13:50:33 by sbenning ### ########.fr */ /* */ /* ************************************************************************** */ @@ -66,8 +66,8 @@ # define RL_SELECT_LEFT_CODE 0x445b1b1b # define RL_SELECT_PAGEUP_CODE 0x7e355b1b1b # define RL_SELECT_PAGEDOWN_CODE 0x7e365b1b1b -# define RL_SELECT_HOME_CODE 0x48333b315b1b -# define RL_SELECT_END_CODE 0x46333b315b1b +# define RL_SELECT_HOME_CODE 0X48393b315b1b +# define RL_SELECT_END_CODE 0X46393b315b1b # define RL_SELECT_WRIGHT_CODE 0x4330313b315b1b # define RL_SELECT_WLEFT_CODE 0x4430313b315b1b # define RL_RETARR_CODE 0x7f diff --git a/42sh/includes/ft_readline.h b/42sh/includes/ft_readline.h index f67274fe..2af95c04 100644 --- a/42sh/includes/ft_readline.h +++ b/42sh/includes/ft_readline.h @@ -6,7 +6,7 @@ /* By: sbenning +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2016/12/08 18:02:25 by sbenning #+# #+# */ -/* Updated: 2016/12/12 14:38:54 by sbenning ### ########.fr */ +/* Updated: 2016/12/14 13:51:14 by sbenning ### ########.fr */ /* */ /* ************************************************************************** */ @@ -20,8 +20,8 @@ * Input-Key Mapping !!! LINUX Or MACOSX !!! */ -# define LINUX -//# define MACOSX +//# define LINUX +# define MACOSX # include "ft_input.h" /* diff --git a/42sh/src/line-editing/rl_comp_function.c b/42sh/src/line-editing/rl_comp_function.c index 74ca7715..1efd20f3 100644 --- a/42sh/src/line-editing/rl_comp_function.c +++ b/42sh/src/line-editing/rl_comp_function.c @@ -6,7 +6,7 @@ /* By: sbenning +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2016/12/12 10:49:03 by sbenning #+# #+# */ -/* Updated: 2016/12/12 11:01:45 by sbenning ### ########.fr */ +/* Updated: 2016/12/14 13:49:39 by sbenning ### ########.fr */ /* */ /* ************************************************************************** */ @@ -37,4 +37,5 @@ int rl_comp_function(t_line *line, long int input) line->used = line->size; curs_reset(0); return (0); + (void)input; }