Clear screen before displaying matches

This commit is contained in:
Joshua Clayton 2016-05-03 05:13:58 -04:00
parent 31a569eef9
commit f5394e4b36

View File

@ -15,7 +15,8 @@ main = do
let response = parseLines $ unlines results
case withOneOccurrence $ withOneFile response of
Right termMatchSet ->
Right termMatchSet -> do
clearScreen
mapM_ printMatchPair $ listFromMatchSet termMatchSet
Left e ->
printParseError e