Better handling of interrupts in REPL

This commit is contained in:
2025-01-27 16:46:41 -06:00
committed by James Eversole
parent c6a7835a6f
commit 09eedfb609
4 changed files with 30 additions and 23 deletions

View File

@@ -59,7 +59,7 @@ main = do
case args of
Repl -> do
putStrLn "Welcome to the tricu REPL"
putStrLn "You can exit with `CTRL+D` or the `:_exit` command.`"
putStrLn "You can exit with `CTRL+D` or the `!exit` command.`"
repl Map.empty
Evaluate { file = filePaths, form = form } -> do
result <- case filePaths of