diff options
Diffstat (limited to 'app/Main.hs')
-rw-r--r-- | app/Main.hs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/Main.hs b/app/Main.hs index 6f96aa5..8d785be 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -398,6 +398,7 @@ import Issue.Sort qualified as I import Issue.Tag qualified as I import Options.Applicative ((<**>)) import Options.Applicative qualified as O +import Patch qualified as P import Prettyprinter ((<+>)) import Prettyprinter qualified as P import Prettyprinter.Render.Terminal qualified as P @@ -670,7 +671,9 @@ main = do IssueDeleted {issue} -> shortHash <+> kwd "deleted" <+> title issue ) - <+> if patch then P.pretty e.patch else P.emptyDoc + <+> if patch + then P.hardline <> P.render e.patch + else P.emptyDoc ) es' ) |