diff options
author | salad <fmoenne-@student.le-101.fr> | 2020-10-23 17:40:46 +0200 |
---|---|---|
committer | salad <fmoenne-@student.le-101.fr> | 2020-10-23 17:40:46 +0200 |
commit | abd3bd0b2d2c3869d81706d0266cfc561e4bc925 (patch) | |
tree | de58eb28ccb5c7679e2cb38d0d94eee8a2100479 /src/c_input.c | |
parent | makeshift (diff) | |
download | 42-minishell-abd3bd0b2d2c3869d81706d0266cfc561e4bc925.tar.gz 42-minishell-abd3bd0b2d2c3869d81706d0266cfc561e4bc925.tar.bz2 42-minishell-abd3bd0b2d2c3869d81706d0266cfc561e4bc925.tar.xz 42-minishell-abd3bd0b2d2c3869d81706d0266cfc561e4bc925.tar.zst 42-minishell-abd3bd0b2d2c3869d81706d0266cfc561e4bc925.zip |
loadsamoney
Diffstat (limited to '')
-rw-r--r-- | src/c_input.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/c_input.c b/src/c_input.c index e1dce63..d680552 100644 --- a/src/c_input.c +++ b/src/c_input.c @@ -66,7 +66,7 @@ uint32_t while (it < len) { it += (it == 0) ? (tcaps->ws.ws_col - plen) : tcaps->ws.ws_col; - tcaps->lpos += (it < (cpos)) ? 1 : 0; + tcaps->lpos += (it < cpos) ? 1 : 0; line_num++; } return (line_num); @@ -83,13 +83,3 @@ int16_t } return (1); } - -int16_t - c_ctrl_c(char *line, t_caps *tcaps, t_msh *msh) -{ - (void)tcaps; - (void)line; - msh->ret = 130; - c_new_line(NULL, tcaps); - return (1); -} |