Small fixes
This commit is contained in:
parent
6adb78d6f3
commit
8cb401e1a5
2 changed files with 6 additions and 4 deletions
|
|
@ -6,7 +6,7 @@
|
|||
# By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# Created: 2024/04/28 17:28:30 by maiboyer #+# #+# #
|
||||
# Updated: 2024/07/23 21:54:12 by maiboyer ### ########.fr #
|
||||
# Updated: 2024/07/23 22:23:57 by maiboyer ### ########.fr #
|
||||
# #
|
||||
# **************************************************************************** #
|
||||
|
||||
|
|
@ -21,6 +21,9 @@ BUILD_DIR ?= $(shell realpath ./build/)
|
|||
# TODO: ADD THIS WHEN FINISHING THIS:
|
||||
#CFLAGS_ADDITIONAL = -DNVALGRIND
|
||||
|
||||
# TODO: REMOVE THIS WHEN FINISHING THIS:
|
||||
CFLAGS_ADDITIONAL += -DPRINT_BACKTRACE
|
||||
|
||||
# Flags
|
||||
CFLAGS = -Werror -Wextra -Wall -Wno-unused-command-line-argument -g3 -MMD -I./includes -I./output/include -I./stdme/output/include -rdynamic -Wl,-E
|
||||
CFLAGS += $(CFLAGS_ADDITIONAL)
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/07/11 18:26:32 by maiboyer #+# #+# */
|
||||
/* Updated: 2024/07/23 22:19:04 by maiboyer ### ########.fr */
|
||||
/* Updated: 2024/07/23 22:24:59 by maiboyer ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -204,7 +204,6 @@ bool line_edit_feed(t_line_state *state, t_str *out)
|
|||
* is in the buffer, and we can restore the terminal in normal mode. */
|
||||
void line_edit_stop(t_line_state *state)
|
||||
{
|
||||
printf("stopping\n");
|
||||
string_free(state->buf);
|
||||
if (!isatty(state->input_fd->fd))
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue