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 = maxacctwidthseen =
-- ltrace "maxacctwidthseen" $ -- ltrace "maxacctwidthseen" $
V.maximum $ V.maximum $
V.map (\AccountsScreenItem{..} -> asItemIndentLevel + textWidth asItemDisplayAccountName) $ V.map (\AccountsScreenItem{..} -> asItemIndentLevel + Hledger.Cli.textWidth asItemDisplayAccountName) $
-- V.filter (\(indent,_,_,_) -> (indent-1) <= fromMaybe 99999 mdepth) $ -- V.filter (\(indent,_,_,_) -> (indent-1) <= fromMaybe 99999 mdepth) $
displayitems displayitems
maxbalwidthseen = maxbalwidthseen =

View File

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

View File

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