Documentation ¶
Index ¶
- func Bytes(cmds ...Operator) []byte
- func MakeRenderer(w io.Writer, profile termenv.Profile) *lipgloss.Renderer
- func Proxy(conn net.Conn, proxy io.Writer, termCh chan string, sizeCh chan WindowSize) error
- func Write(w io.Writer, cmds ...Operator) (int, error)
- func WriteAndClear(w io.Writer, cmds ...Operator) (int, error)
- type Operator
- type WindowSize
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeRenderer ¶ added in v1.8.0
Types ¶
type Operator ¶
type Operator byte
const ( BinaryTransmission Operator = iota Echo Reconnection SuppressGoAhead ApproxMessageSizeNegotiation Status TimingMark RemoteControlledTransAndEcho OutputLineWidth OutputPageSize OutputCarriageReturnDisposition OutputHorizontalTabStops OutputHorizontalTabDisposition OutputFormfeedDisposition OutputVerticalTabstops OutputVerticalTabDisposition OutputLinefeedDisposition ExtendedASCII Logout ByteMacro DataEntryTerminal SUPDUP SUPDUPOutput SendLocation TerminalType EndofRecord TACACSUserIdentification OutputMarking TerminalLocationNumber Telnet3270Regime X3PAD NegotiateAboutWindowSize TerminalSpeed RemoteFlowControl Linemode XDisplayLocation ExtendedOptionsList )
type WindowSize ¶ added in v1.8.0
type WindowSize struct {
Width, Height uint16
}
Click to show internal directories.
Click to hide internal directories.