ui: allow brick 0.14, vty 5.12, text-zipper 0.9

This commit is contained in:
Simon Michael 2016-11-19 08:53:07 -08:00
parent a8ca9e83d9
commit 9311077205
3 changed files with 7 additions and 7 deletions

View File

@ -124,7 +124,7 @@ asDraw UIState{aopts=UIOpts{cliopts_=copts@CliOpts{reportopts_=ropts}}
maxacctwidthseen =
-- ltrace "maxacctwidthseen" $
V.maximum $
V.map (\AccountsScreenItem{..} -> asItemIndentLevel + textWidth asItemDisplayAccountName) $
V.map (\AccountsScreenItem{..} -> asItemIndentLevel + Hledger.Cli.textWidth asItemDisplayAccountName) $
-- V.filter (\(indent,_,_,_) -> (indent-1) <= fromMaybe 99999 mdepth) $
displayitems
maxbalwidthseen =

View File

@ -75,15 +75,15 @@ executable hledger-ui
, safe >= 0.2
, split >= 0.1 && < 0.3
, text >= 1.2 && < 1.3
, text-zipper >= 0.4 && < 0.9
, text-zipper >= 0.4 && < 0.10
, transformers
, vector
if os(windows)
buildable: False
else
build-depends:
brick >= 0.12 && < 0.14
, vty >= 5.5 && < 5.12
brick >= 0.12 && < 0.15
, vty >= 5.5 && < 5.13
if flag(threaded)
ghc-options: -threaded
if flag(oldtime)

View File

@ -66,7 +66,7 @@ executables:
- safe >= 0.2
- split >= 0.1 && < 0.3
- text >= 1.2 && < 1.3
- text-zipper >= 0.4 && < 0.9
- text-zipper >= 0.4 && < 0.10
- transformers
- vector
when:
@ -85,8 +85,8 @@ executables:
buildable: false
else:
dependencies:
- brick >= 0.12 && < 0.14
- vty >= 5.5 && < 5.12
- brick >= 0.12 && < 0.15
- vty >= 5.5 && < 5.13
- condition: flag(threaded)
ghc-options: -threaded
- condition: flag(oldtime)