read: read a line with readline and echo it back

This commit is contained in:
Khaïs COLIN 2025-02-06 13:58:50 +01:00
parent 08101e295a
commit a23b639f78
No known key found for this signature in database
2 changed files with 18 additions and 1 deletions

View file

@ -3,6 +3,9 @@ DEBUG = -g
ASAN = -fsanitize=address
TSAN = -fsanitize=thread
UBSAN = -fsanitize=undefined
LDLIBS = \
-lreadline \
ifeq ($(CFLAGS),)
CFLAGS = -Wall -Wextra -Werror $(DEBUG)
endif