@@ -456,11 +456,11 @@ consoleDisplayAnnotated h output = do ist <- getIState
456456-- | Write pretty-printed output to IDESlave with semantic annotations
457457ideSlaveReturnAnnotated :: Integer -> Handle -> Doc OutputAnnotation -> Idris ()
458458ideSlaveReturnAnnotated n h out = do ist <- getIState
459− let (str, spans) = displaySpans .
460− renderPretty 0.8 80 .
461− fmap (fancifyAnnots ist) $
462− out
463− good = [SymbolAtom "ok", toSExp str, toSExp spans]
459+ (str, spans) <- fmap displaySpans .
460+ iRender .
461+ fmap (fancifyAnnots ist) $
462+ out
463+ let good = [SymbolAtom "ok", toSExp str, toSExp spans]
464464 runIO . hPutStrLn h $ convSExp "return" good n
465465
466466ihPrintTermWithType :: Handle -> Doc OutputAnnotation -> Doc OutputAnnotation -> Idris ()