ui: fix -fvty build error

This commit is contained in:
Simon Michael 2009-11-25 15:33:41 +00:00
parent 92c87f088a
commit 8b47aeb146

View File

@ -50,7 +50,7 @@ data Screen = BalanceScreen -- ^ like hledger balance, shows accounts
ui :: [Opt] -> [String] -> Ledger -> IO ()
ui opts args l = do
v <- mkVty
DisplayBounds w h <- display_bounds $ terminal v
DisplayRegion w h <- display_bounds $ terminal v
let opts' = SubTotal:opts
let a = enter BalanceScreen
AppState {