ajout de opt x/c/v pour copier/coller la suite de la ligne affichee + correction de quelques bugs sur opt fleches haut/bas/gauche/droite + ajout d'un mode visu (f5 lance l'affichage complet de la str, f6 quitte ce mode)

This commit is contained in:
Gautier WOJDA 2017-01-22 17:28:11 +01:00
parent 704896b757
commit a73755aac7
129 changed files with 125 additions and 37 deletions

View file

@ -6,7 +6,7 @@
/* By: sbenning <sbenning@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/12/08 18:02:25 by sbenning #+# #+# */
/* Updated: 2017/01/22 11:13:43 by gwojda ### ########.fr */
/* Updated: 2017/01/22 14:34:41 by gwojda ### ########.fr */
/* */
/* ************************************************************************** */
@ -46,6 +46,8 @@
# define TOUCHE_OPT_V 10127586
# define TOUCHE_OPT_C 42947
# define TOUCHE_OPT_X 8948194
# define TOUCHE_F5 892427035
# define TOUCHE_F6 925981467
typedef struct s_line
{
@ -60,6 +62,7 @@ typedef struct s_list_history
struct s_list_history *next;
} t_list_history;
void ft_printall(char *str, size_t *pos);
void ft_get_beggin_with_curs(char *str, size_t *pos);
void ft_history(char **str, int ret, t_list_history **head, size_t *pos);
void ft_suppr(char **str, size_t *i);

BIN
42sh/obj/ast_free.o Normal file

Binary file not shown.

BIN
42sh/obj/builtin_bg.o Normal file

Binary file not shown.

BIN
42sh/obj/builtin_cd.o Normal file

Binary file not shown.

BIN
42sh/obj/builtin_echo.o Normal file

Binary file not shown.

BIN
42sh/obj/builtin_env.o Normal file

Binary file not shown.

BIN
42sh/obj/builtin_exit.o Normal file

Binary file not shown.

BIN
42sh/obj/builtin_fg.o Normal file

Binary file not shown.

BIN
42sh/obj/builtin_jobs.o Normal file

Binary file not shown.

BIN
42sh/obj/builtin_setenv.o Normal file

Binary file not shown.

BIN
42sh/obj/builtin_unsetenv.o Normal file

Binary file not shown.

Binary file not shown.

BIN
42sh/obj/copy_cut_paste.o Normal file

Binary file not shown.

BIN
42sh/obj/data_exit.o Normal file

Binary file not shown.

BIN
42sh/obj/data_init.o Normal file

Binary file not shown.

BIN
42sh/obj/data_singleton.o Normal file

Binary file not shown.

Binary file not shown.

BIN
42sh/obj/exec_ampersand.o Normal file

Binary file not shown.

BIN
42sh/obj/exec_and_if.o Normal file

Binary file not shown.

BIN
42sh/obj/exec_command.o Normal file

Binary file not shown.

BIN
42sh/obj/exec_dgreat.o Normal file

Binary file not shown.

BIN
42sh/obj/exec_great.o Normal file

Binary file not shown.

BIN
42sh/obj/exec_less.o Normal file

Binary file not shown.

BIN
42sh/obj/exec_or_if.o Normal file

Binary file not shown.

BIN
42sh/obj/exec_pipe.o Normal file

Binary file not shown.

BIN
42sh/obj/exec_semi.o Normal file

Binary file not shown.

BIN
42sh/obj/ft_exec.o Normal file

Binary file not shown.

BIN
42sh/obj/ft_findexec.o Normal file

Binary file not shown.

BIN
42sh/obj/ft_parse.o Normal file

Binary file not shown.

BIN
42sh/obj/ft_post_tokenize.o Normal file

Binary file not shown.

BIN
42sh/obj/ft_putast.o Normal file

Binary file not shown.

BIN
42sh/obj/ft_putast2.o Normal file

Binary file not shown.

Binary file not shown.

BIN
42sh/obj/ft_tokenize.o Normal file

Binary file not shown.

BIN
42sh/obj/get_lexer_state.o Normal file

Binary file not shown.

BIN
42sh/obj/get_touch.o Normal file

Binary file not shown.

BIN
42sh/obj/get_touch_toolz.o Normal file

Binary file not shown.

Binary file not shown.

BIN
42sh/obj/is_builtin.o Normal file

Binary file not shown.

BIN
42sh/obj/job_addprocess.o Normal file

Binary file not shown.

BIN
42sh/obj/job_cmp_id.o Normal file

Binary file not shown.

BIN
42sh/obj/job_format.o Normal file

Binary file not shown.

BIN
42sh/obj/job_format_head.o Normal file

Binary file not shown.

BIN
42sh/obj/job_free.o Normal file

Binary file not shown.

BIN
42sh/obj/job_getprocess.o Normal file

Binary file not shown.

BIN
42sh/obj/job_getrank.o Normal file

Binary file not shown.

BIN
42sh/obj/job_is_completed.o Normal file

Binary file not shown.

BIN
42sh/obj/job_is_stopped.o Normal file

Binary file not shown.

BIN
42sh/obj/job_kill_all.o Normal file

Binary file not shown.

Binary file not shown.

BIN
42sh/obj/job_notify_new.o Normal file

Binary file not shown.

BIN
42sh/obj/job_remove.o Normal file

Binary file not shown.

BIN
42sh/obj/job_update_id.o Normal file

Binary file not shown.

Binary file not shown.

BIN
42sh/obj/job_wait.o Normal file

Binary file not shown.

BIN
42sh/obj/launch_process.o Normal file

Binary file not shown.

BIN
42sh/obj/lexer_backslash.o Normal file

Binary file not shown.

BIN
42sh/obj/lexer_default.o Normal file

Binary file not shown.

BIN
42sh/obj/lexer_delim.o Normal file

Binary file not shown.

BIN
42sh/obj/lexer_dquote.o Normal file

Binary file not shown.

BIN
42sh/obj/lexer_great.o Normal file

Binary file not shown.

BIN
42sh/obj/lexer_greatand.o Normal file

Binary file not shown.

BIN
42sh/obj/lexer_less.o Normal file

Binary file not shown.

BIN
42sh/obj/lexer_lessand.o Normal file

Binary file not shown.

BIN
42sh/obj/lexer_number.o Normal file

Binary file not shown.

BIN
42sh/obj/lexer_quote.o Normal file

Binary file not shown.

BIN
42sh/obj/lexer_sep.o Normal file

Binary file not shown.

BIN
42sh/obj/lexer_special.o Normal file

Binary file not shown.

BIN
42sh/obj/lexer_var.o Normal file

Binary file not shown.

BIN
42sh/obj/lexer_word.o Normal file

Binary file not shown.

Binary file not shown.

BIN
42sh/obj/list_toolz.o Normal file

Binary file not shown.

BIN
42sh/obj/main.o Normal file

Binary file not shown.

Binary file not shown.

BIN
42sh/obj/move_to_line.o Normal file

Binary file not shown.

BIN
42sh/obj/parse_dgreat.o Normal file

Binary file not shown.

BIN
42sh/obj/parse_dless.o Normal file

Binary file not shown.

BIN
42sh/obj/parse_great.o Normal file

Binary file not shown.

BIN
42sh/obj/parse_greatand.o Normal file

Binary file not shown.

BIN
42sh/obj/parse_less.o Normal file

Binary file not shown.

BIN
42sh/obj/parse_lessand.o Normal file

Binary file not shown.

BIN
42sh/obj/parse_separator.o Normal file

Binary file not shown.

BIN
42sh/obj/parse_subshell.o Normal file

Binary file not shown.

BIN
42sh/obj/parse_word.o Normal file

Binary file not shown.

BIN
42sh/obj/print_and_del.o Normal file

Binary file not shown.

BIN
42sh/obj/process_cmp_pid.o Normal file

Binary file not shown.

BIN
42sh/obj/process_format.o Normal file

Binary file not shown.

BIN
42sh/obj/process_free.o Normal file

Binary file not shown.

Binary file not shown.

BIN
42sh/obj/process_redirect.o Normal file

Binary file not shown.

BIN
42sh/obj/process_reset.o Normal file

Binary file not shown.

BIN
42sh/obj/process_setexec.o Normal file

Binary file not shown.

BIN
42sh/obj/process_setgroup.o Normal file

Binary file not shown.

BIN
42sh/obj/prompt.o Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
42sh/obj/quotes_gest.o Normal file

Binary file not shown.

BIN
42sh/obj/reader.o Normal file

Binary file not shown.

BIN
42sh/obj/readline.o Normal file

Binary file not shown.

BIN
42sh/obj/reduce_bquotes.o Normal file

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show more