aboutsummaryrefslogtreecommitdiff
path: root/src/Ghci.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ghci.hs')
-rw-r--r--src/Ghci.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Ghci.hs b/src/Ghci.hs
index ce8009b..a36c05e 100644
--- a/src/Ghci.hs
+++ b/src/Ghci.hs
@@ -89,6 +89,7 @@ runStmtClever :: Ghci -> ParseSettings -> String -> IO (Ghci, Result String)
runStmtClever ghci pset line =
case dropWhile isSpace line of
':' : line1 -> case words (map toLower (dropWhile isSpace line1)) of
+ ('{':_) : _ -> return (ghci, Ignored) -- will break prompt
cmd : "prompt" : _
| "set" `startsWith` cmd -> return (ghci, Ignored)
| "unset" `startsWith` cmd -> return (ghci, Ignored)