util

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadingBlockRune

func LoadingBlockRune(offset int) rune

func TermWidth

func TermWidth() int

Types

type LineWriter

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

func NewLineWriter

func NewLineWriter(w io.Writer) *LineWriter

func (*LineWriter) Lines

func (l *LineWriter) Lines() int

func (*LineWriter) Reset

func (l *LineWriter) Reset()

func (*LineWriter) Write

func (l *LineWriter) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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