diff options
Diffstat (limited to 'app/Main.hs')
-rw-r--r-- | app/Main.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Main.hs b/app/Main.hs index 126caab..50ac0fd 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -126,7 +126,7 @@ showMatches treeGrepperResult = listMatches :: TreeGrepperResult -> IO () listMatches treeGrepperResult = - mapM_ (putStrLn . (.text)) $ treeGrepperResult.matches + mapM_ (putStrLn . unlines . take 1 . lines . (.text)) $ treeGrepperResult.matches data UnknownFileExtension = UnknownFileExtension { extension :: String |