packages feed

brick 0.20 → 0.20.1

raw patch · 3 files changed

+8/−1 lines, 3 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Brick.Widgets.Dialog: dialogButtonsL :: forall a_a14q0 a_a14qA. Lens (Dialog a_a14q0) (Dialog a_a14qA) [(String, a_a14q0)] [(String, a_a14qA)]
+ Brick.Widgets.Dialog: dialogButtonsL :: forall a_a14pN a_a14qn. Lens (Dialog a_a14pN) (Dialog a_a14qn) [(String, a_a14pN)] [(String, a_a14qn)]
- Brick.Widgets.Dialog: dialogSelectedIndexL :: forall a_a14q0. Lens' (Dialog a_a14q0) (Maybe Int)
+ Brick.Widgets.Dialog: dialogSelectedIndexL :: forall a_a14pN. Lens' (Dialog a_a14pN) (Maybe Int)
- Brick.Widgets.Dialog: dialogTitleL :: forall a_a14q0. Lens' (Dialog a_a14q0) (Maybe String)
+ Brick.Widgets.Dialog: dialogTitleL :: forall a_a14pN. Lens' (Dialog a_a14pN) (Maybe String)
- Brick.Widgets.Dialog: dialogWidthL :: forall a_a14q0. Lens' (Dialog a_a14q0) Int
+ Brick.Widgets.Dialog: dialogWidthL :: forall a_a14pN. Lens' (Dialog a_a14pN) Int
- Brick.Widgets.Edit: editContentsL :: forall t_a16b8 n_a16b9 t_a16bK. Lens (Editor t_a16b8 n_a16b9) (Editor t_a16bK n_a16b9) (TextZipper t_a16b8) (TextZipper t_a16bK)
+ Brick.Widgets.Edit: editContentsL :: forall t_a16aV n_a16aW t_a16bx. Lens (Editor t_a16aV n_a16aW) (Editor t_a16bx n_a16aW) (TextZipper t_a16aV) (TextZipper t_a16bx)
- Brick.Widgets.List: listElementsL :: forall n_a17Z2 e_a17Z3 e_a189h. Lens (List n_a17Z2 e_a17Z3) (List n_a17Z2 e_a189h) (Vector e_a17Z3) (Vector e_a189h)
+ Brick.Widgets.List: listElementsL :: forall n_a17YP e_a17YQ e_a1894. Lens (List n_a17YP e_a17YQ) (List n_a17YP e_a1894) (Vector e_a17YQ) (Vector e_a1894)
- Brick.Widgets.List: listItemHeightL :: forall n_a17Z2 e_a17Z3. Lens' (List n_a17Z2 e_a17Z3) Int
+ Brick.Widgets.List: listItemHeightL :: forall n_a17YP e_a17YQ. Lens' (List n_a17YP e_a17YQ) Int
- Brick.Widgets.List: listNameL :: forall n_a17Z2 e_a17Z3 n_a189i. Lens (List n_a17Z2 e_a17Z3) (List n_a189i e_a17Z3) n_a17Z2 n_a189i
+ Brick.Widgets.List: listNameL :: forall n_a17YP e_a17YQ n_a1895. Lens (List n_a17YP e_a17YQ) (List n_a1895 e_a17YQ) n_a17YP n_a1895
- Brick.Widgets.List: listSelectedL :: forall n_a17Z2 e_a17Z3. Lens' (List n_a17Z2 e_a17Z3) (Maybe Int)
+ Brick.Widgets.List: listSelectedL :: forall n_a17YP e_a17YQ. Lens' (List n_a17YP e_a17YQ) (Maybe Int)

Files

CHANGELOG.md view
@@ -2,6 +2,12 @@ Brick changelog --------------- +0.20.1+------++Bug fixes:+ * str: fixed an IsString constraint confusion on GHC 7.10.1+ 0.20 ---- 
brick.cabal view
@@ -1,5 +1,5 @@ name:                brick-version:             0.20+version:             0.20.1 synopsis:            A declarative terminal user interface library description:   Write terminal applications painlessly with 'brick'! You write an
src/Brick/Widgets/Core.hs view
@@ -234,6 +234,7 @@     Widget Fixed Fixed $ do       c <- getContext       let theLines = fixEmpty <$> (dropUnused . lines) s+          fixEmpty :: String -> String           fixEmpty [] = " "           fixEmpty l = l           dropUnused l = takeColumns (availWidth c) <$> take (availHeight c) l