super

package
v2.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2021 License: Artistic-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunSuperCow

func RunSuperCow(phrase string, withBold bool, opts ...cowsay.Option) error

RunSuperCow runs super cow mode animation on the your terminal

Types

type Writer

type Writer struct {
	// contains filtered or unexported fields
}

Writer is wrapper which is both screen.MoveWriter and decoration.Writer.

func (*Writer) Reset

func (w *Writer) Reset()

Reset resets calls some Reset methods.

func (*Writer) SetColorSeq

func (w *Writer) SetColorSeq(colorSeq int)

SetColorSeq sets color sequence.

func (*Writer) SetPosx

func (w *Writer) SetPosx(x int)

SetPosx sets posx

func (*Writer) String

func (w *Writer) String() string

func (*Writer) Write

func (w *Writer) Write(p []byte) (int, error)

Write writes bytes. which is implemented io.Writer.

func (*Writer) WriteString

func (w *Writer) WriteString(s string) (int, error)

WriteString writes string. which is implemented io.StringWriter.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL