summaryrefslogtreecommitdiffstats
path: root/src/c_input.h
diff options
context:
space:
mode:
authorsalad <fmoenne-@student.le-101.fr>2020-09-08 18:07:14 +0200
committersalad <fmoenne-@student.le-101.fr>2020-09-08 18:07:14 +0200
commite9d902e8d9475785952355e228dcffd223bac8be (patch)
treec4995c9e701f3128999849ccec88b0be84627800 /src/c_input.h
parentadded TODO, this is a baseline before reformatting (diff)
download42-minishell-e9d902e8d9475785952355e228dcffd223bac8be.tar.gz
42-minishell-e9d902e8d9475785952355e228dcffd223bac8be.tar.bz2
42-minishell-e9d902e8d9475785952355e228dcffd223bac8be.tar.xz
42-minishell-e9d902e8d9475785952355e228dcffd223bac8be.tar.zst
42-minishell-e9d902e8d9475785952355e228dcffd223bac8be.zip
clean, ca fait ziz
Diffstat (limited to '')
-rw-r--r--src/c_input.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/c_input.h b/src/c_input.h
index c340194..f6fa54d 100644
--- a/src/c_input.h
+++ b/src/c_input.h
@@ -1,7 +1,7 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
-/* c_input.c :+: :+: :+: */
+/* c_input.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
@@ -13,11 +13,9 @@
#ifndef C_INPUT_H
#define C_INPUT_H
-#include "s_struct.h"
-
-int16_t c_redraw_line(char *line, uint16_t cpos, t_msh *msh);
-char *c_delchar(char *str, uint16_t cpos);
-uint16_t c_get_win_size(struct winsize *ws);
-int32_t c_catch_tcaps(char *buf, char **line, t_caps *tcaps, t_msh *msh);
+int16_t c_key_right(uint32_t len, t_caps *tcaps);
+int16_t c_key_left(uint32_t len, t_caps *tcaps);
+int16_t c_new_line(char *buf, char **line, t_msh *msh, t_caps *tcaps);
+int16_t c_back_slash(char **line, t_caps *tcaps);
#endif