settings

package
v0.0.0-...-74dbe66 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2021 License: GPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TerminalSize

func TerminalSize() (uint, uint)

Types

type Settings

type Settings struct {
	ScriptName       string
	TotalMillis      uint
	StartTime        int64
	EndTime          int64
	WidthArg         uint
	HeightArg        uint
	Width            uint
	Height           uint
	HistogramChar    string
	ColourisedOutput bool
	Logarithmic      bool
	NumOnly          string
	Verbose          bool
	GraphValues      string
	Size             string
	Tokenize         string
	MatchRegexp      string
	StatInterval     int
	NumPrunes        uint
	ColourPalette    string
	RegularColour    string
	KeyColour        string
	CtColour         string
	PctColour        string
	GraphColour      string
	TotalObjects     uint
	TotalValues      uint64
	KeyPruneInterval uint
	MaxKeys          uint
	UnicodeMode      bool
	CharWidth        float32
	GraphChars       []string
	PartialBlocks    []string
	PartialLines     []string
}

func NewSettings

func NewSettings(scriptName string, args []string) *Settings

Jump to

Keyboard shortcuts

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