Skip to content
Snippets Groups Projects
Verified Commit 84d01b10 authored by Julian Ospald's avatar Julian Ospald :tea:
Browse files

Don't do padding for --raw-format

parent 8f9faaa3
No related branches found
No related tags found
No related merge requests found
......@@ -147,7 +147,7 @@ printListResult no_color raw lr = do
lengths = fmap (maximum . fmap strWidth) cols
padded = fmap (\xs -> zipWith padTo xs lengths) rows
forM_ padded $ \row -> putStrLn $ unwords row
forM_ (if raw then rows else padded) $ \row -> putStrLn $ unwords row
where
padTo str' x =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment