From 112487d69261e508c12a2b761a83a287355e2c0d Mon Sep 17 00:00:00 2001 From: salad Date: Tue, 8 Sep 2020 14:21:41 +0200 Subject: on god? --- src/c_init.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/c_init.c') diff --git a/src/c_init.c b/src/c_init.c index 0044f98..454e70a 100644 --- a/src/c_init.c +++ b/src/c_init.c @@ -134,6 +134,7 @@ int16_t else if (strncmp(buf, tgetstr("kb", NULL), ft_strlen(tgetstr("kb", NULL))) == 0) { line = c_delchar(line, tcaps->cpos); + tcaps->cpos -= 1; tputs(tgetstr("le", NULL), 1, ft_putchar); tputs(tgetstr("dc", NULL), 1, ft_putchar); return (1); -- cgit v1.2.3