packages feed

rasa-ext-slate 0.1.3 → 0.1.4

raw patch · 2 files changed

+8/−9 lines, 2 filesdep ~rasadep ~rasa-ext-loggerdep ~rasa-ext-status-bar

Dependency ranges changed: rasa, rasa-ext-logger, rasa-ext-status-bar, rasa-ext-style

Files

rasa-ext-slate.cabal view
@@ -1,5 +1,5 @@ name: rasa-ext-slate-version: 0.1.3+version: 0.1.4 cabal-version: >=1.10 build-type: Simple license: MIT@@ -26,9 +26,9 @@         Rasa.Ext.Slate.Internal.Attributes     build-depends:         base >=4.8 && <5,-        rasa >=0.1.6 && <0.2,-        rasa-ext-style >=0.1.2 && <0.2,-        rasa-ext-status-bar >=0.1.1 && <0.2,+        rasa >=0.1.7 && <0.2,+        rasa-ext-style >=0.1.3 && <0.2,+        rasa-ext-status-bar >=0.1.2 && <0.2,         rasa-ext-views >=0.1.1 && <0.2,         recursion-schemes >=5.0.1 && <5.1,         text >=1.2.2.1 && <1.3,@@ -36,7 +36,7 @@         yi-rope >=0.7.0.2 && <0.8,         lens ==4.14.*,         vty ==5.14.*,-        rasa-ext-logger >=0.1.1 && <0.2+        rasa-ext-logger >=0.1.2 && <0.2     default-language: Haskell2010     hs-source-dirs: src     ghc-options: -Wall
src/Rasa/Ext/Slate.hs view
@@ -6,7 +6,6 @@ import Rasa.Ext.Slate.Internal.State (getVty)  import qualified Graphics.Vty as V-import Control.Monad import Control.Monad.IO.Class  -- | The main export for this extension. Add this to your user config.@@ -18,9 +17,9 @@ -- >    ... slate :: Action () slate = do-  void $ onInit terminalEvents-  void $ onRender render-  void $ onExit shutdown+  onInit terminalEvents+  onEveryRender_ render+  onExit shutdown  -- | Call vty shutdown procedure (if this doesn't happen the terminal ends up in strange states) shutdown :: Action ()