brick 0.64 → 0.64.1
raw patch · 3 files changed
+14/−3 lines, 3 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Brick.Widgets.FileBrowser: fileBrowserEntryFilterL :: forall n_a1kyM. Lens' (FileBrowser n_a1kyM) (Maybe (FileInfo -> Bool))
+ Brick.Widgets.FileBrowser: fileBrowserEntryFilterL :: forall n_a1kyD. Lens' (FileBrowser n_a1kyD) (Maybe (FileInfo -> Bool))
- Brick.Widgets.FileBrowser: fileBrowserSelectableL :: forall n_a1kyM. Lens' (FileBrowser n_a1kyM) (FileInfo -> Bool)
+ Brick.Widgets.FileBrowser: fileBrowserSelectableL :: forall n_a1kyD. Lens' (FileBrowser n_a1kyD) (FileInfo -> Bool)
- Brick.Widgets.List: listElementsL :: forall n_a1foc t_a1fod e_a1foe t_a1fCj e_a1fCk. Lens (GenericList n_a1foc t_a1fod e_a1foe) (GenericList n_a1foc t_a1fCj e_a1fCk) (t_a1fod e_a1foe) (t_a1fCj e_a1fCk)
+ Brick.Widgets.List: listElementsL :: forall n_a1fo3 t_a1fo4 e_a1fo5 t_a1fCa e_a1fCb. Lens (GenericList n_a1fo3 t_a1fo4 e_a1fo5) (GenericList n_a1fo3 t_a1fCa e_a1fCb) (t_a1fo4 e_a1fo5) (t_a1fCa e_a1fCb)
- Brick.Widgets.List: listItemHeightL :: forall n_a1foc t_a1fod e_a1foe. Lens' (GenericList n_a1foc t_a1fod e_a1foe) Int
+ Brick.Widgets.List: listItemHeightL :: forall n_a1fo3 t_a1fo4 e_a1fo5. Lens' (GenericList n_a1fo3 t_a1fo4 e_a1fo5) Int
- Brick.Widgets.List: listNameL :: forall n_a1foc t_a1fod e_a1foe n_a1fCl. Lens (GenericList n_a1foc t_a1fod e_a1foe) (GenericList n_a1fCl t_a1fod e_a1foe) n_a1foc n_a1fCl
+ Brick.Widgets.List: listNameL :: forall n_a1fo3 t_a1fo4 e_a1fo5 n_a1fCc. Lens (GenericList n_a1fo3 t_a1fo4 e_a1fo5) (GenericList n_a1fCc t_a1fo4 e_a1fo5) n_a1fo3 n_a1fCc
- Brick.Widgets.List: listSelectedL :: forall n_a1foc t_a1fod e_a1foe. Lens' (GenericList n_a1foc t_a1fod e_a1foe) (Maybe Int)
+ Brick.Widgets.List: listSelectedL :: forall n_a1fo3 t_a1fo4 e_a1fo5. Lens' (GenericList n_a1fo3 t_a1fo4 e_a1fo5) (Maybe Int)
Files
- CHANGELOG.md +9/−1
- brick.cabal +1/−1
- src/Brick/Main.hs +4/−1
CHANGELOG.md view
@@ -2,6 +2,13 @@ Brick changelog --------------- +0.64.1+------++Bug fixes:+ * Fixed a bug where mouse clicks could fail to be noticed if+ "continueWithoutRedraw" was called.+ 0.64 ---- @@ -12,7 +19,8 @@ * Added `Brick.Widgets.Core.putCursor` to support Vty's new (as of 5.33) API for placing cursors without visually representing them. This change also updated `Brick.Forms.renderCheckbox` and- `Brick.Forms.renderRadio` to use `putCursor`.+ `Brick.Forms.renderRadio` to use `putCursor` (thanks to Mario Lang+ for this work). Other improvements: * `Brick.Widgets.Edit` now supports a few more Emacs-style keybindings
brick.cabal view
@@ -1,5 +1,5 @@ name: brick-version: 0.64+version: 0.64.1 synopsis: A declarative terminal user interface library description: Write terminal user interfaces (TUIs) painlessly with 'brick'! You
src/Brick/Main.hs view
@@ -194,7 +194,10 @@ Nothing -> readBChan brickChan Just uc -> readBrickEvent brickChan uc runInner rs es draw st = do- (result, newRS, newExtents) <- runVty vty readEvent app st (resetRenderState rs) es draw+ let nextRS = if draw+ then resetRenderState rs+ else rs+ (result, newRS, newExtents) <- runVty vty readEvent app st nextRS es draw case result of SuspendAndResume act -> do killThread pid