Documentation ¶
Index ¶
- func Bytes(cmds ...Operator) []byte
- func MakeRenderer(w io.Writer, profile termenv.Profile) *lipgloss.Renderer
- func Proxy(conn net.Conn) (io.ReadCloser, termenv.Profile, <-chan WindowSize, <-chan 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
func Proxy ¶
func Proxy(conn net.Conn) (io.ReadCloser, termenv.Profile, <-chan WindowSize, <-chan error)
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
}
func (WindowSize) String ¶ added in v1.9.5
func (w WindowSize) String() string
Click to show internal directories.
Click to hide internal directories.