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