ui: more defensive brick list imports to fix recent breakage

This commit is contained in:
Simon Michael 2019-02-02 08:22:23 -08:00
parent fda41373f7
commit 98e3358046
4 changed files with 4 additions and 2 deletions

View File

@ -13,6 +13,7 @@ where
import Brick
import Brick.Widgets.List
(handleListEvent, list, listElementsL, listMoveDown, listMoveTo, listNameL, listSelectedElement, listSelectedL, renderList)
import Brick.Widgets.Edit
import Control.Monad
import Control.Monad.IO.Class (liftIO)

View File

@ -25,6 +25,7 @@ import qualified Data.Vector as V
import Graphics.Vty (Event(..),Key(..),Modifier(..))
import Brick
import Brick.Widgets.List
(handleListEvent, list, listElementsL, listMoveDown, listMoveTo, listNameL, listSelectedElement, listSelectedL, renderList)
import Brick.Widgets.Edit
import Lens.Micro.Platform
import Safe

View File

@ -40,7 +40,7 @@ module Hledger.UI.UITypes where
import Data.Time.Calendar (Day)
import Brick
import Brick.Widgets.List
import Brick.Widgets.List (List)
import Brick.Widgets.Edit (Editor)
import Lens.Micro.Platform
import Text.Show.Functions ()

View File

@ -31,7 +31,7 @@ import Brick.Widgets.Border
import Brick.Widgets.Border.Style
import Brick.Widgets.Dialog
import Brick.Widgets.Edit
import Brick.Widgets.List
import Brick.Widgets.List (List, listSelectedL, listNameL, listItemHeightL)
import Control.Monad.IO.Class
import Data.List
import Data.Maybe