From 97cca528658e5b811a56600b7c0b4f9c11bf83fc Mon Sep 17 00:00:00 2001 From: Dominik Kaiser Date: Tue, 25 Jun 2024 14:02:02 +0200 Subject: Add basic command line * Initialize terminal and signal handling * Add basic repl that doesn't do anything yet * Add handling for Ctrl-C, Ctrl-D and Ctrl-\ in interactive mode--- src/repl.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/repl.c (limited to 'src/repl.c') diff --git a/src/repl.c b/src/repl.c new file mode 100644 index 0000000..f97af6c --- /dev/null +++ b/src/repl.c @@ -0,0 +1,26 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* repl.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: dkaiser