Normed the line/src

This commit is contained in:
Raphael (rparodi) 2024-07-30 17:14:34 +02:00
parent c2dec0e9f7
commit 9b1574b9c4
5 changed files with 24 additions and 22 deletions

View file

@ -6,7 +6,7 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/07/11 18:10:24 by maiboyer #+# #+# */
/* Updated: 2024/07/20 13:51:27 by maiboyer ### ########.fr */
/* Updated: 2024/07/30 17:14:18 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
@ -20,11 +20,11 @@
* program using linenoise is called in pipe or with a file redirected
* to its standard input. In this case, we want to be able to return the
* line regardless of its length (by default we are limited to 4k). */
bool line_no_tty_impl(t_str *out)
bool line_no_tty_impl(t_str *out)
{
t_string line;
t_isize ret;
char chr;
t_string line;
t_isize ret;
char chr;
line = string_new(16);
while (true)