aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2023-02-14 20:59:37 +0100
committerTom Smeding <tom@tomsmeding.com>2023-02-14 20:59:37 +0100
commitdd557059a4388435e7033da87ae21ec15efbdb15 (patch)
tree5b75a8e727de6b7ed0f57b1a754eee4e1d00f5d4
parent68f3d87a106002f9e46f5cb57c7f83048040dc5e (diff)
Long ghc diagnostics are long, need to read them whole
-rw-r--r--src/Ghci.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Ghci.hs b/src/Ghci.hs
index 953bf72..d339d74 100644
--- a/src/Ghci.hs
+++ b/src/Ghci.hs
@@ -158,7 +158,7 @@ runStmt' ghci pset stmt = do
tag <- updatePrompt ghci
ghciPutStrLn (ghciStdin ghci) stmt
hFlush (ghciStdin ghci)
- let readmax = psMaxOutputLen pset + 200
+ let readmax = psMaxOutputLen pset + 8192
(output, reason) <- hGetUntilUTF8 (ghciStdout ghci) (Just readmax) tag
case reason of
ReachedMaxLen -> do