From 75bad8f18024e8b4dbb9700329cfb888ae1e3dc3 Mon Sep 17 00:00:00 2001 From: joe Date: Mon, 30 Nov 2020 17:34:00 +0100 Subject: In progress --- src/c_init.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/c_init.c') diff --git a/src/c_init.c b/src/c_init.c index 2ba73f5..5e09031 100644 --- a/src/c_init.c +++ b/src/c_init.c @@ -88,6 +88,9 @@ static short return (c_end_key(ft_strlen(line), tcaps->plen, tcaps)); else if ((*((unsigned int *)buf)) == CTRL_L) return (c_ctrl_l(line, tcaps, msh)); + else if (((*((unsigned int *)buf)) == UP_K) || + ((*((unsigned int *)buf)) == CTRL_P)) + return (ft_dprintf(0, "qweqwe\n")); else if ((*((unsigned int *)buf)) == CTRL_D && line[0] == '\0') { -- cgit v1.2.3