diff options
author | Salad <water_appreciator@protonmail.com> | 2020-10-02 16:55:52 +0200 |
---|---|---|
committer | Salad <water_appreciator@protonmail.com> | 2020-10-02 16:55:52 +0200 |
commit | b6b09fc1fa8e4f70f042cfe48f26b28d798498d3 (patch) | |
tree | 22ec864530fc4a0a9e642bdf35c42b2dacc93e95 /src/c_init.h | |
parent | lessgo (diff) | |
download | 42-minishell-b6b09fc1fa8e4f70f042cfe48f26b28d798498d3.tar.gz 42-minishell-b6b09fc1fa8e4f70f042cfe48f26b28d798498d3.tar.bz2 42-minishell-b6b09fc1fa8e4f70f042cfe48f26b28d798498d3.tar.xz 42-minishell-b6b09fc1fa8e4f70f042cfe48f26b28d798498d3.tar.zst 42-minishell-b6b09fc1fa8e4f70f042cfe48f26b28d798498d3.zip |
almost there : norme + miltiligne
Diffstat (limited to '')
-rw-r--r-- | src/c_init.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/c_init.h b/src/c_init.h index db448cf..5dd4a13 100644 --- a/src/c_init.h +++ b/src/c_init.h @@ -36,9 +36,10 @@ typedef struct s_caps uint32_t cpos; /*cursor position (column)*/ uint32_t lpos; /*cursor position (line)*/ uint32_t nlines; /*cursor position (line)*/ + uint8_t psx; /*cursor position (line)*/ } t_caps; -int16_t c_init_tcaps(int32_t fd, char **line, t_msh *msh); +int16_t c_init_tcaps(int32_t fd, char **line, uint8_t psx, t_msh *msh); int16_t c_set_term_raw(uint8_t mode); #endif |