diff options
author | salad <fmoenne-@student.le-101.fr> | 2020-09-20 14:55:03 +0200 |
---|---|---|
committer | salad <fmoenne-@student.le-101.fr> | 2020-09-20 14:55:03 +0200 |
commit | eef52a625c1676946b0dddfe211ebfbe62ff81b1 (patch) | |
tree | 2a35449688d347883b055e3f65fa77a86f34ea53 /src/c_input.c | |
parent | reworking redraw line lets go (diff) | |
download | 42-minishell-eef52a625c1676946b0dddfe211ebfbe62ff81b1.tar.gz 42-minishell-eef52a625c1676946b0dddfe211ebfbe62ff81b1.tar.bz2 42-minishell-eef52a625c1676946b0dddfe211ebfbe62ff81b1.tar.xz 42-minishell-eef52a625c1676946b0dddfe211ebfbe62ff81b1.tar.zst 42-minishell-eef52a625c1676946b0dddfe211ebfbe62ff81b1.zip |
ffs
Diffstat (limited to '')
-rw-r--r-- | src/c_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c_input.c b/src/c_input.c index 4dab9f0..be72aa9 100644 --- a/src/c_input.c +++ b/src/c_input.c @@ -86,7 +86,7 @@ int16_t if (tcaps->cpos >= 1) { *line = c_delchar(*line, tcaps->cpos); - tcaps->cpos -= 1; + tcaps->cpos--; tputs(tgetstr("le", NULL), 1, ft_putchar); tputs(tgetstr("dc", NULL), 1, ft_putchar); } |