mbpdecor

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatusDecorator

type StatusDecorator struct {
	decor.WC
	// contains filtered or unexported fields
}

func Status

func Status(status string, wcc ...decor.WC) *StatusDecorator

Status returns updatable status decorator.

 `status` status to display

	`wcc`    optional WC config

func (*StatusDecorator) Decor

func (d *StatusDecorator) Decor(st *decor.Statistics) string

func (*StatusDecorator) SetStatus

func (d *StatusDecorator) SetStatus(status string)

Jump to

Keyboard shortcuts

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