rhine-terminal 1.0 → 1.1
raw patch · 5 files changed
+14/−10 lines, 5 filesdep ~dunaidep ~rhinePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: dunai, rhine
API changes (from Hackage documentation)
Files
- ChangeLog.md +4/−0
- TerminalSimple.hs +1/−1
- rhine-terminal.cabal +6/−6
- src/FRP/Rhine/Terminal.hs +1/−1
- tests/Main.hs +2/−2
ChangeLog.md view
@@ -1,5 +1,9 @@ # Revision history for rhine-terminal +## 1.1++* dunai-0.11 compatibility+ ## 1.0 * Removed schedules. See the [page about changes in version 1](/version1.md).
TerminalSimple.hs view
@@ -80,7 +80,7 @@ flush liftIO exitSuccess -changePrompt :: MonadScreen m => Text -> m ()+changePrompt :: (MonadScreen m) => Text -> m () changePrompt prmpt = do Position _ column <- getCursorPosition if column /= 0
rhine-terminal.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: rhine-terminal-version: 1.0+version: 1.1 synopsis: Terminal backend for Rhine description: This package provides an example of a `terminal` based program using rhine.@@ -24,7 +24,7 @@ source-repository this type: git location: https://github.com/turion/rhine.git- tag: v1.0+ tag: v1.1 library exposed-modules:@@ -32,8 +32,8 @@ build-depends: base >= 4.11 && < 4.18 , exceptions >= 0.10.4 , transformers >= 0.5- , rhine == 1.0- , dunai ^>= 0.9+ , rhine == 1.1+ , dunai ^>= 0.11 , terminal >= 0.2.0.0 , time >= 1.9.3 , monad-schedule >= 0.1.2@@ -49,7 +49,7 @@ main-is: TerminalSimple.hs ghc-options: -threaded build-depends: base >= 4.14 && < 4.18- , rhine == 1.0+ , rhine == 1.1 , rhine-terminal , terminal >= 0.2.0.0 , text >= 1.2.5.0@@ -67,7 +67,7 @@ main-is: tests/Main.hs ghc-options: -threaded build-depends: base >= 4.14 && < 4.18- , rhine == 1.0+ , rhine == 1.1 , rhine-terminal , exceptions >= 0.10.4 , transformers >= 0.5
src/FRP/Rhine/Terminal.hs view
@@ -95,7 +95,7 @@ -- | See 'RunTerminalClock'. Apply this to your clock value to remove a 'TerminalT' layer. runTerminalClock ::- Terminal t =>+ (Terminal t) => t -> cl -> RunTerminalClock IO t cl
tests/Main.hs view
@@ -41,12 +41,12 @@ , virtualInterrupt = retry } -displayDot :: MonadScreen m => ClSF m KeyClock () ()+displayDot :: (MonadScreen m) => ClSF m KeyClock () () displayDot = constMCl $ do putChar '.' flush -testRhine :: Terminal t => Rhine (TerminalT t IO) KeyClock () ()+testRhine :: (Terminal t) => Rhine (TerminalT t IO) KeyClock () () testRhine = displayDot @@ keyClock charEvent :: TQueue Event -> t -> Char -> IO ()