From 36184c4d5906043241d912390b788343f088bff1 Mon Sep 17 00:00:00 2001 From: Salad Date: Mon, 19 Oct 2020 17:40:44 +0200 Subject: norme + backslash + delchar + init --> gnl --- src/c_keys.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'src/c_keys.c') diff --git a/src/c_keys.c b/src/c_keys.c index 5a036e6..cd3e6f1 100644 --- a/src/c_keys.c +++ b/src/c_keys.c @@ -18,9 +18,7 @@ #include "m_prompt.h" int16_t - c_ctrl_l(char *line, - t_caps *tcaps, - t_msh *msh) + c_ctrl_l(char *line, t_caps *tcaps, t_msh *msh) { tputs(tgetstr("cl", NULL), 1, ft_putchar); m_prompt_psx(1, msh); @@ -85,9 +83,7 @@ int16_t } int16_t - c_key_right(uint32_t len, - uint32_t plen, - t_caps *tcaps) + c_key_right(uint32_t len, uint32_t plen, t_caps *tcaps) { if ((((tcaps->cpos + plen + 1) % (tcaps->ws.ws_col)) == 0) && tcaps->cpos < len) @@ -106,8 +102,7 @@ int16_t } int16_t - c_key_left(uint32_t plen, - t_caps *tcaps) + c_key_left(uint32_t plen, t_caps *tcaps) { int32_t pos; -- cgit v1.2.3