This library is used for the 42sh project.
The library adds the readline function, which behaves much like
the c standard library's getline function, with a few notable differences.
For instance, the readline handles cursor control (i.e. controlling
the terminal cursor with arrow keys) if the given file stream is a tty stream.
To compile the standard version of readline, simply run make:
makeTo compile a version with debug symbols enabled,
use the debug rule:
make debugThis project uses the address sanitizer to ensure no
memory leaks are produced. To compile the library with
the address sanitizer enabled, please use the
sanitize rule:
make sanitizeWhen you're done, you can use the clean rule
to delete any temporary files, or the fclean
rule to delete everything but the source code.