From 8c32af581b841a3342763a23522eb802f17424d7 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Mon, 5 Sep 2016 10:56:38 -0700 Subject: [PATCH] ui: use full narrow terminal width for help dialog --- hledger-ui/Hledger/UI/UIUtils.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hledger-ui/Hledger/UI/UIUtils.hs b/hledger-ui/Hledger/UI/UIUtils.hs index c27207cee..d84abc1d1 100644 --- a/hledger-ui/Hledger/UI/UIUtils.hs +++ b/hledger-ui/Hledger/UI/UIUtils.hs @@ -41,7 +41,7 @@ helpDialog = Widget Fixed Fixed $ do c <- getContext render $ - renderDialog (dialog (Just "Help (?/LEFT/ESC to close)") Nothing (c^.availWidthL - 2)) $ -- (Just (0,[("ok",())])) + renderDialog (dialog (Just "Help (?/LEFT/ESC to close)") Nothing (c^.availWidthL)) $ -- (Just (0,[("ok",())])) padTopBottom 1 $ padLeftRight 1 $ vBox [ hBox [