Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit 6843707

Browse files
committed
Brighten sources.
1 parent 17fdc4b commit 6843707

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

semantic-analysis/src/Analysis/Analysis/Exception.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ exceptionsForLine l e = Set.filter (\ ex -> IntSet.member l (exceptionLines ex))
106106

107107
printExcSet :: Source.Source -> ExcSet -> IO ()
108108
printExcSet src e = for_ (zip [0..] (Source.lines src)) $ \ (i, line) -> do
109-
Text.putStr (Text.dropWhileEnd (== '\n') (Source.toText line))
109+
Text.putStr (Text.pack "\ESC[37;1m" <> Text.dropWhileEnd (== '\n') (Source.toText line) <> Text.pack "\ESC[0m")
110110
let es = exceptionsForLine i e
111111
fvs = freeVariablesForLine i e
112112
unless (null es && null fvs) $ do

0 commit comments

Comments
 (0)