brick 0.56 → 0.57
raw patch · 3 files changed
+16/−3 lines, 3 filesdep ~vtyPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: vty
API changes (from Hackage documentation)
- Brick.BorderMap: eBottomL :: forall a_ajGf. Lens' (Edges a_ajGf) a_ajGf
+ Brick.BorderMap: eBottomL :: forall a_ajGP. Lens' (Edges a_ajGP) a_ajGP
- Brick.BorderMap: eLeftL :: forall a_ajGf. Lens' (Edges a_ajGf) a_ajGf
+ Brick.BorderMap: eLeftL :: forall a_ajGP. Lens' (Edges a_ajGP) a_ajGP
- Brick.BorderMap: eRightL :: forall a_ajGf. Lens' (Edges a_ajGf) a_ajGf
+ Brick.BorderMap: eRightL :: forall a_ajGP. Lens' (Edges a_ajGP) a_ajGP
- Brick.BorderMap: eTopL :: forall a_ajGf. Lens' (Edges a_ajGf) a_ajGf
+ Brick.BorderMap: eTopL :: forall a_ajGP. Lens' (Edges a_ajGP) a_ajGP
- Brick.Types: bordersL :: forall n_aGPi. Lens' (Result n_aGPi) (BorderMap DynBorder)
+ Brick.Types: bordersL :: forall n_aGRQ. Lens' (Result n_aGRQ) (BorderMap DynBorder)
- Brick.Types: cursorLocationL :: forall n_aFtT. Lens' (CursorLocation n_aFtT) Location
+ Brick.Types: cursorLocationL :: forall n_aFwr. Lens' (CursorLocation n_aFwr) Location
- Brick.Types: cursorLocationNameL :: forall n_aFtT n_aHt2. Lens (CursorLocation n_aFtT) (CursorLocation n_aHt2) (Maybe n_aFtT) (Maybe n_aHt2)
+ Brick.Types: cursorLocationNameL :: forall n_aFwr n_aHvA. Lens (CursorLocation n_aFwr) (CursorLocation n_aHvA) (Maybe n_aFwr) (Maybe n_aHvA)
- Brick.Types: cursorsL :: forall n_aGPi. Lens' (Result n_aGPi) [CursorLocation n_aGPi]
+ Brick.Types: cursorsL :: forall n_aGRQ. Lens' (Result n_aGRQ) [CursorLocation n_aGRQ]
- Brick.Types: eBottomL :: forall a_ajGf. Lens' (Edges a_ajGf) a_ajGf
+ Brick.Types: eBottomL :: forall a_ajGP. Lens' (Edges a_ajGP) a_ajGP
- Brick.Types: eLeftL :: forall a_ajGf. Lens' (Edges a_ajGf) a_ajGf
+ Brick.Types: eLeftL :: forall a_ajGP. Lens' (Edges a_ajGP) a_ajGP
- Brick.Types: eRightL :: forall a_ajGf. Lens' (Edges a_ajGf) a_ajGf
+ Brick.Types: eRightL :: forall a_ajGP. Lens' (Edges a_ajGP) a_ajGP
- Brick.Types: eTopL :: forall a_ajGf. Lens' (Edges a_ajGf) a_ajGf
+ Brick.Types: eTopL :: forall a_ajGP. Lens' (Edges a_ajGP) a_ajGP
- Brick.Types: extentsL :: forall n_aGPi. Lens' (Result n_aGPi) [Extent n_aGPi]
+ Brick.Types: extentsL :: forall n_aGRQ. Lens' (Result n_aGRQ) [Extent n_aGRQ]
- Brick.Types: imageL :: forall n_aGPi. Lens' (Result n_aGPi) Image
+ Brick.Types: imageL :: forall n_aGRQ. Lens' (Result n_aGRQ) Image
- Brick.Types: visibilityRequestsL :: forall n_aGPi. Lens' (Result n_aGPi) [VisibilityRequest]
+ Brick.Types: visibilityRequestsL :: forall n_aGRQ. Lens' (Result n_aGRQ) [VisibilityRequest]
- Brick.Widgets.Dialog: dialogButtonsL :: forall a_a1hPf a_a1hPW. Lens (Dialog a_a1hPf) (Dialog a_a1hPW) [(String, a_a1hPf)] [(String, a_a1hPW)]
+ Brick.Widgets.Dialog: dialogButtonsL :: forall a_a1hRN a_a1hSu. Lens (Dialog a_a1hRN) (Dialog a_a1hSu) [(String, a_a1hRN)] [(String, a_a1hSu)]
- Brick.Widgets.Dialog: dialogSelectedIndexL :: forall a_a1hPf. Lens' (Dialog a_a1hPf) (Maybe Int)
+ Brick.Widgets.Dialog: dialogSelectedIndexL :: forall a_a1hRN. Lens' (Dialog a_a1hRN) (Maybe Int)
- Brick.Widgets.Dialog: dialogTitleL :: forall a_a1hPf. Lens' (Dialog a_a1hPf) (Maybe String)
+ Brick.Widgets.Dialog: dialogTitleL :: forall a_a1hRN. Lens' (Dialog a_a1hRN) (Maybe String)
- Brick.Widgets.Dialog: dialogWidthL :: forall a_a1hPf. Lens' (Dialog a_a1hPf) Int
+ Brick.Widgets.Dialog: dialogWidthL :: forall a_a1hRN. Lens' (Dialog a_a1hRN) Int
- Brick.Widgets.Edit: editContentsL :: forall t_a1cHP n_a1cHQ t_a1cIz. Lens (Editor t_a1cHP n_a1cHQ) (Editor t_a1cIz n_a1cHQ) (TextZipper t_a1cHP) (TextZipper t_a1cIz)
+ Brick.Widgets.Edit: editContentsL :: forall t_a1cKn n_a1cKo t_a1cL7. Lens (Editor t_a1cKn n_a1cKo) (Editor t_a1cL7 n_a1cKo) (TextZipper t_a1cKn) (TextZipper t_a1cL7)
- Brick.Widgets.FileBrowser: fileBrowserEntryFilterL :: forall n_a1sqG. Lens' (FileBrowser n_a1sqG) (Maybe (FileInfo -> Bool))
+ Brick.Widgets.FileBrowser: fileBrowserEntryFilterL :: forall n_a1stf. Lens' (FileBrowser n_a1stf) (Maybe (FileInfo -> Bool))
- Brick.Widgets.FileBrowser: fileBrowserSelectableL :: forall n_a1sqG. Lens' (FileBrowser n_a1sqG) (FileInfo -> Bool)
+ Brick.Widgets.FileBrowser: fileBrowserSelectableL :: forall n_a1stf. Lens' (FileBrowser n_a1stf) (FileInfo -> Bool)
- Brick.Widgets.List: listElementsL :: forall n_a1n41 t_a1n42 e_a1n43 t_a1niC e_a1niD. Lens (GenericList n_a1n41 t_a1n42 e_a1n43) (GenericList n_a1n41 t_a1niC e_a1niD) (t_a1n42 e_a1n43) (t_a1niC e_a1niD)
+ Brick.Widgets.List: listElementsL :: forall n_a1n6A t_a1n6B e_a1n6C t_a1nlb e_a1nlc. Lens (GenericList n_a1n6A t_a1n6B e_a1n6C) (GenericList n_a1n6A t_a1nlb e_a1nlc) (t_a1n6B e_a1n6C) (t_a1nlb e_a1nlc)
- Brick.Widgets.List: listItemHeightL :: forall n_a1n41 t_a1n42 e_a1n43. Lens' (GenericList n_a1n41 t_a1n42 e_a1n43) Int
+ Brick.Widgets.List: listItemHeightL :: forall n_a1n6A t_a1n6B e_a1n6C. Lens' (GenericList n_a1n6A t_a1n6B e_a1n6C) Int
- Brick.Widgets.List: listNameL :: forall n_a1n41 t_a1n42 e_a1n43 n_a1niE. Lens (GenericList n_a1n41 t_a1n42 e_a1n43) (GenericList n_a1niE t_a1n42 e_a1n43) n_a1n41 n_a1niE
+ Brick.Widgets.List: listNameL :: forall n_a1n6A t_a1n6B e_a1n6C n_a1nld. Lens (GenericList n_a1n6A t_a1n6B e_a1n6C) (GenericList n_a1nld t_a1n6B e_a1n6C) n_a1n6A n_a1nld
- Brick.Widgets.List: listSelectedL :: forall n_a1n41 t_a1n42 e_a1n43. Lens' (GenericList n_a1n41 t_a1n42 e_a1n43) (Maybe Int)
+ Brick.Widgets.List: listSelectedL :: forall n_a1n6A t_a1n6B e_a1n6C. Lens' (GenericList n_a1n6A t_a1n6B e_a1n6C) (Maybe Int)
Files
- CHANGELOG.md +11/−0
- brick.cabal +2/−2
- src/Brick/Themes.hs +3/−1
CHANGELOG.md view
@@ -2,6 +2,17 @@ Brick changelog --------------- +0.57+----++Package changes:+ * Raised lower bound on `vty` to 5.31 to get the new `strikethrough`+ style.++New features:+ * Added support for the `strikethrough` style in Brick theme+ customization files.+ 0.56 ----
brick.cabal view
@@ -1,5 +1,5 @@ name: brick-version: 0.56+version: 0.57 synopsis: A declarative terminal user interface library description: Write terminal user interfaces (TUIs) painlessly with 'brick'! You@@ -114,7 +114,7 @@ Brick.Widgets.Internal build-depends: base <= 4.14.1.0,- vty >= 5.29,+ vty >= 5.31, transformers, data-clist >= 0.1, directory >= 1.2.5.0,
src/Brick/Themes.hs view
@@ -30,7 +30,8 @@ -- (without quotes) or a comma-delimited list of one or more of the -- following values (e.g. @"[bold,underline]"@) indicating that all -- of the specified styles be used. Valid styles are @standout@,--- @underline@, @reverseVideo@, @blink@, @dim@, @italic@, and @bold@.+-- @underline@, @reverseVideo@, @blink@, @dim@, @italic@,+-- @strikethrough@, and @bold@. -- -- The @other@ section specifies for each attribute name in the theme -- the same @fg@, @bg@, and @style@ settings as for the default@@ -251,6 +252,7 @@ allStyles = [ ("standout", standout) , ("underline", underline)+ , ("strikethrough", strikethrough) , ("reversevideo", reverseVideo) , ("blink", blink) , ("dim", dim)