summaryrefslogtreecommitdiffstats
path: root/src/c_keys_next.c
diff options
context:
space:
mode:
authorsalad <fmoenne-@student.le-101.fr>2020-12-16 13:10:11 +0100
committersalad <fmoenne-@student.le-101.fr>2020-12-16 13:10:11 +0100
commit711bc9edbd9646900fc7e00e7b3457c2070ac31f (patch)
tree2b173316fcea1f8609fc9494dadce17588f248b4 /src/c_keys_next.c
parentnorm tobecontinued2 (diff)
download42-minishell-711bc9edbd9646900fc7e00e7b3457c2070ac31f.tar.gz
42-minishell-711bc9edbd9646900fc7e00e7b3457c2070ac31f.tar.bz2
42-minishell-711bc9edbd9646900fc7e00e7b3457c2070ac31f.tar.xz
42-minishell-711bc9edbd9646900fc7e00e7b3457c2070ac31f.tar.zst
42-minishell-711bc9edbd9646900fc7e00e7b3457c2070ac31f.zip
qwe
Diffstat (limited to 'src/c_keys_next.c')
-rw-r--r--src/c_keys_next.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/c_keys_next.c b/src/c_keys_next.c
index ec063d3..58c8946 100644
--- a/src/c_keys_next.c
+++ b/src/c_keys_next.c
@@ -18,6 +18,17 @@
#include "c_keys.h"
#include "d_define.h"
+t_msh *c_get_msh(int mode, t_msh *src)
+{
+ static t_msh *msh;
+
+ if (mode == 1)
+ {
+ msh = src;
+ }
+ return (msh);
+}
+
void c_key_up_down(char *line[], t_caps *tcaps, char *ptr)
{
char tmp[ARG_MAX];