Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Horizontal size of a pseudo terminal in characters.
Vertical size of a pseudo terminal in characters.
data Pty :: Effect where Source #
A pseudo terminal, to be scoped with withPty
.
Handle :: Pty m Handle | The file descriptor that can be connected to stdio of a process. |
Resize :: Rows -> Cols -> Pty m () | Set the size of the terminal. |
Size :: Pty m (Rows, Cols) | Get the size of the terminal. |
Instances
type DefiningModule Pty Source # | |
Defined in Polysemy.Process.Effect.Pty |