brush

package
v1.0.4-Realize Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package brush 实现了同时兼容Linux及Windows的控制台彩色输出封装

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildBrush

func BuildBrush() *brush

BuildBrush 构建一个笔刷

func Clear

func Clear(text string) string

Clear 清除笔刷附加给文字的色彩信息

func Print

func Print(text string)

Print 兼容Linux和Windows控制台的打印

func Printf

func Printf(text string)

Printf 兼容Linux和Windows控制台的打印

Types

This section is empty.

Jump to

Keyboard shortcuts

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