rewrite-inspector 0.1.0.9 → 0.1.0.10
raw patch · 2 files changed
+4/−4 lines, 2 filesdep ~basedep ~hashabledep ~vtyPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: base, hashable, vty
API changes (from Hackage documentation)
- Gen: after :: forall term_adqT ctx_adqU. Lens' (HStep term_adqT ctx_adqU) term_adqT
+ Gen: after :: forall term_aeyA ctx_aeyB. Lens' (HStep term_aeyA ctx_aeyB) term_aeyA
- Gen: before :: forall term_adqT ctx_adqU. Lens' (HStep term_adqT ctx_adqU) term_adqT
+ Gen: before :: forall term_aeyA ctx_aeyB. Lens' (HStep term_aeyA ctx_aeyB) term_aeyA
- Gen: bndrS :: forall term_adqT ctx_adqU. Lens' (HStep term_adqT ctx_adqU) String
+ Gen: bndrS :: forall term_aeyA ctx_aeyB. Lens' (HStep term_aeyA ctx_aeyB) String
- Gen: ctx :: forall term_adqT ctx_adqU ctx_ajEd. Lens (HStep term_adqT ctx_adqU) (HStep term_adqT ctx_ajEd) [ctx_adqU] [ctx_ajEd]
+ Gen: ctx :: forall term_aeyA ctx_aeyB ctx_akHS. Lens (HStep term_aeyA ctx_aeyB) (HStep term_aeyA ctx_akHS) [ctx_aeyB] [ctx_akHS]
- Gen: name :: forall term_adqT ctx_adqU. Lens' (HStep term_adqT ctx_adqU) String
+ Gen: name :: forall term_aeyA ctx_aeyB. Lens' (HStep term_aeyA ctx_aeyB) String
- Types: binders :: forall term_amg5. Lens' (VizStates term_amg5) [Binder]
+ Types: binders :: forall term_anbj. Lens' (VizStates term_anbj) [Binder]
- Types: com :: forall term_am3W. Lens' (OptionsUI term_am3W) Command
+ Types: com :: forall term_amZa. Lens' (OptionsUI term_amZa) Command
- Types: curBinder :: forall term_amg5. Lens' (VizStates term_amg5) Binder
+ Types: curBinder :: forall term_anbj. Lens' (VizStates term_anbj) Binder
- Types: curExpr :: forall term_amcS. Lens' (VizState term_amcS) term_amcS
+ Types: curExpr :: forall term_an86. Lens' (VizState term_an86) term_an86
- Types: curOccur :: forall term_amcS. Lens' (VizState term_amcS) Int
+ Types: curOccur :: forall term_an86. Lens' (VizState term_an86) Int
- Types: curStep :: forall term_amcS. Lens' (VizState term_amcS) Int
+ Types: curStep :: forall term_an86. Lens' (VizState term_an86) Int
- Types: form :: forall term_amg5. Lens' (VizStates term_amg5) (Form (OptionsUI term_amg5) NoCustomEvent Name)
+ Types: form :: forall term_anbj. Lens' (VizStates term_anbj) (Form (OptionsUI term_anbj) NoCustomEvent Name)
- Types: height :: forall term_amg5. Lens' (VizStates term_amg5) Int
+ Types: height :: forall term_anbj. Lens' (VizStates term_anbj) Int
- Types: leftN :: forall term_amcS. Lens' (VizState term_amcS) Int
+ Types: leftN :: forall term_an86. Lens' (VizState term_an86) Int
- Types: opts :: forall term_am3W term_amcy. Lens (OptionsUI term_am3W) (OptionsUI term_amcy) (Options term_am3W) (Options term_amcy)
+ Types: opts :: forall term_amZa term_an7M. Lens (OptionsUI term_amZa) (OptionsUI term_an7M) (Options term_amZa) (Options term_an7M)
- Types: prevState :: forall term_amcS. Lens' (VizState term_amcS) (Maybe (VizState term_amcS))
+ Types: prevState :: forall term_an86. Lens' (VizState term_an86) (Maybe (VizState term_an86))
- Types: rightN :: forall term_amcS. Lens' (VizState term_amcS) Int
+ Types: rightN :: forall term_an86. Lens' (VizState term_an86) Int
- Types: scroll :: forall term_amg5. Lens' (VizStates term_amg5) Bool
+ Types: scroll :: forall term_anbj. Lens' (VizStates term_anbj) Bool
- Types: showBot :: forall term_amg5. Lens' (VizStates term_amg5) Bool
+ Types: showBot :: forall term_anbj. Lens' (VizStates term_anbj) Bool
- Types: states :: forall term_amg5. Lens' (VizStates term_amg5) (Map Binder (VizState term_amg5))
+ Types: states :: forall term_anbj. Lens' (VizStates term_anbj) (Map Binder (VizState term_anbj))
- Types: steps :: forall term_amcS. Lens' (VizState term_amcS) (History term_amcS (Ctx term_amcS))
+ Types: steps :: forall term_an86. Lens' (VizState term_an86) (History term_an86 (Ctx term_an86))
- Types: width :: forall term_amg5. Lens' (VizStates term_amg5) Int
+ Types: width :: forall term_anbj. Lens' (VizStates term_anbj) Int
Files
- rewrite-inspector.cabal +2/−2
- src/BrickUI.hs +2/−2
rewrite-inspector.cabal view
@@ -1,5 +1,5 @@ name: rewrite-inspector-version: 0.1.0.9+version: 0.1.0.10 cabal-version: >=1.10 build-type: Simple license: BSD3@@ -35,7 +35,7 @@ hashable >= 1.2.1.0 && < 1.3, containers >= 0.5.0.0 && < 0.7, brick == 0.46,- vty >= 5.23.1,+ vty >= 5.26, prettyprinter >= 1.2.0.1 && < 2.0, text, microlens >= 0.3.0.0,
src/BrickUI.hs view
@@ -15,7 +15,7 @@ import System.Environment (getArgs) import Control.Applicative ((<|>))-import Control.Monad (void, (>>))+import Control.Monad (void) import Control.Monad.Fail (MonadFail (..)) import Control.Monad.IO.Class (liftIO) @@ -196,7 +196,7 @@ lookupSize :: EventM Name (VizStates term -> VizStates term) lookupSize = do out <- V.outputIface <$> B.getVtyHandle- (w, h) <- V.displayBounds out+ (w, h) <- liftIO (V.displayBounds out) return $ (width .~ w) . (height .~ h) -- | Update number of occurrences of searched string in both viewports.