Chiasma.Command.Session
sameId :: SessionId -> Session -> Bool Source #
sessions :: Member Tmux r => Sem r [Session] Source #
doesSessionExist :: Member Tmux r => SessionId -> Sem r Bool Source #
existingSessionId :: Member Tmux r => SessionId -> Sem r (Maybe SessionId) Source #
newSession :: Member Tmux r => Ident -> Sem r Session Source #
clientForSession :: SessionId -> [Client] -> Maybe Client Source #
switchClient :: Members [Tmux, Stop TmuxError] r => SessionId -> SessionId -> Sem r () Source #