Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiWriter ¶
type MultiWriter struct {
// contains filtered or unexported fields
}
MultiWriter creates a writer that duplicates its writes to all the provided writers, writers can be added / removed dynamically.
type TerminalBuffer ¶
type TerminalBuffer struct {
// contains filtered or unexported fields
}
TerminalBuffer captures the last line displayed on terminal.
func NewTerminalBuffer ¶
func NewTerminalBuffer() *TerminalBuffer
NewTerminalBuffer returns an instantiated TerminalBuffer.
func (*TerminalBuffer) Line ¶
func (b *TerminalBuffer) Line() []byte
Line returns the last terminal line.
Click to show internal directories.
Click to hide internal directories.