From fd7a2ba757e6382ce377e9f53fcff0c483099caa Mon Sep 17 00:00:00 2001 From: salad Date: Mon, 21 Sep 2020 16:11:33 +0200 Subject: DEL MULTILIGNEED --- src/c_keys.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/c_keys.c') diff --git a/src/c_keys.c b/src/c_keys.c index fc8962e..6496525 100644 --- a/src/c_keys.c +++ b/src/c_keys.c @@ -63,7 +63,8 @@ int16_t uint32_t plen, t_caps *tcaps) { - if (((tcaps->cpos + plen + 1) % (tcaps->ws.ws_col)) == 0 && tcaps->cpos < len) + if (((tcaps->cpos + plen + 1) % (tcaps->ws.ws_col)) == 0 + && tcaps->cpos < len) { tputs(tgetstr("do", NULL), 1, ft_putchar); tputs(tgetstr("cr", NULL), 1, ft_putchar); @@ -86,7 +87,8 @@ int16_t (void)len; pos = -1; - if (((tcaps->cpos + plen) % (tcaps->ws.ws_col )) == 0 && tcaps->cpos >= 1) + if (((tcaps->cpos + plen) % (tcaps->ws.ws_col)) == 0 + && tcaps->cpos >= 1) { tputs(tgetstr("up", NULL), 1, ft_putchar); while(++pos <= (tcaps->ws.ws_col)) -- cgit v1.2.3