From e33aa56d43e8da1d807cdec9b8cf28d6b978ac2d Mon Sep 17 00:00:00 2001 From: Eric Mertens Date: Sat, 29 Feb 2020 12:19:45 -0800 Subject: [PATCH] cli:Fixed NoLine column rendering after previous commit --- hledger-lib/Text/Tabular/AsciiWide.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hledger-lib/Text/Tabular/AsciiWide.hs b/hledger-lib/Text/Tabular/AsciiWide.hs index 83fb8d456..83458ea5e 100644 --- a/hledger-lib/Text/Tabular/AsciiWide.hs +++ b/hledger-lib/Text/Tabular/AsciiWide.hs @@ -85,7 +85,9 @@ renderHLine' vpos pretty prop is h = edge HL ++ sep ++ coreLine ++ sep ++ edge H helper = either vsep dashes dashes (i,_) = concat (replicate i sep) sep = boxchar vpos HM NoLine prop pretty - vsep v = sep ++ cross v prop ++ sep + vsep v = case v of + NoLine -> sep ++ sep + _ -> sep ++ cross v prop ++ sep cross v h = boxchar vpos HM v h pretty data VPos = VT | VM | VB -- top middle bottom