Versions in this module Expand all Collapse all v1 v1.7.0 May 20, 2020 Changes in this version + type Client struct + Stderr io.Reader + Stdin io.WriteCloser + Stdout io.Reader + func NewClient(ctx context.Context, conn *websocket.Conn) *Client + func (c *Client) Resize(width, height int) error + func (c *Client) Wait() (uint8, error) + type ClientMessage struct + Height int + Input string + Type ClientMsgType + Width int + type ClientMsgType int + const CloseStdin + const Resize + const Stdin + type ServerMessage struct + Body io.Reader + StreamID byte + type StreamID byte + const ExitCode + const Stderr + const Stdout