Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class TmuxApi m a where Source #
runCommands :: a -> (Text -> Either TmuxDecodeError b) -> Cmds -> m [b] Source #
withTmux :: a -> (ConduitT (Flush Cmd) Void m () -> ConduitT () TmuxOutputBlock m () -> m b) -> m b Source #
Instances
(MonadIO m, MonadDeepError e TmuxError m, MonadMask m) => TmuxApi m TmuxNative Source # | |
Defined in Chiasma.Native.Api runCommands :: TmuxNative -> (Text -> Either TmuxDecodeError b) -> Cmds -> m [b] Source # withTmux :: TmuxNative -> (ConduitT (Flush Cmd) Void m () -> ConduitT () TmuxOutputBlock m () -> m b) -> m b Source # |