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 =
|
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 =
|
||||||
|
@ -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)
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user