aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Eval.hs
diff options
context:
space:
mode:
authorMarvin Borner2023-02-23 21:10:15 +0100
committerMarvin Borner2023-02-23 21:10:15 +0100
commit23536b41ba46d45d2c61cb77bbad5bbfa6cd1ce3 (patch)
treebe173b86bfd52dce4933e5b0686cddf5a9eeb52e /src/Eval.hs
parent078734c1a310300c8121022103f1b4ca9bd1b5f2 (diff)
More humanification
Diffstat (limited to 'src/Eval.hs')
-rw-r--r--src/Eval.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Eval.hs b/src/Eval.hs
index 95f0a34..6f8a0a5 100644
--- a/src/Eval.hs
+++ b/src/Eval.hs
@@ -194,7 +194,10 @@ evalCommand inp s@(EnvState env@(Environment envDefs) conf cache) = \case
full <- fullPath path
t <- getModificationTime full
if t > mtime
- then putStrLn "reload" >> evalCommand inp s (Input full) >> monitor t
+ then
+ putStrLn "\ESC[2Jreload"
+ >> evalCommand inp s (Input full)
+ >> monitor t
else monitor t
in getCurrentTime >>= monitor
Import path namespace -> do -- TODO: Merge with Input (very similar)