mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-08 07:09:28 +03:00
ui: allow brick 0.14, vty 5.12, text-zipper 0.9
This commit is contained in:
parent
a8ca9e83d9
commit
9311077205
@ -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 =
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user