Documentation ¶
Index ¶
Constants ¶
View Source
const ( EscapeChar byte = 0x14 // Ctrl+T HelpChar byte = '?' QuitChar byte = 'q' ConfigChar byte = 'c' BreakChar byte = 'b' DetectBaudChar byte = 'B' ClearChar byte = 'l' CtrlTChar byte = 't' VersionChar byte = 'v' StatsChar byte = 's' LocalEchoChar byte = 'e' HexModeChar byte = 'h' TimestampsChar byte = 'T' )
View Source
const ClearSequence = "\033c"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TtyHandler ¶
type TtyHandler interface { io.Closer Run(errChan chan<- error) HandleDisconnect() error HandleReconnect() error }
func NewPtyHandler ¶
func NewPtyHandler(client *ws.Client, linkTo string) (tty TtyHandler, err error)
func NewStdFdsHandler ¶
func NewStdFdsHandler(client *ws.Client, implementation ttyc.Implementation, credentials *url.Userinfo, server string) (tty TtyHandler, err error)
Click to show internal directories.
Click to hide internal directories.