Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Stdout = colorable.NewColorableStdout()
Stdout color supported stdout
Functions ¶
Types ¶
type MoveWriter ¶
type MoveWriter struct {
// contains filtered or unexported fields
}
MoveWriter is implemented io.Writer and io.StringWriter.
func NewMoveWriter ¶
func NewMoveWriter(w io.Writer, x, y int) *MoveWriter
NewMoveWriter creates a new MoveWriter.
func (*MoveWriter) Write ¶
func (m *MoveWriter) Write(bs []byte) (nn int, _ error)
Write writes bytes. which is implemented io.Writer.
func (*MoveWriter) WriteString ¶
func (m *MoveWriter) WriteString(s string) (nn int, _ error)
WriteString writes string. which is implemented io.StringWriter.
Click to show internal directories.
Click to hide internal directories.