summaryrefslogtreecommitdiffstats
path: root/src/c_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_init.c')
-rw-r--r--src/c_init.c3
1 files changed, 3 insertions, 0 deletions
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')
{