ansi

package
v12.41.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package ansi provides methods for working with ANSI/VT100 control sequences

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasCodes

func HasCodes(s string) bool

HasCodes returns true if given string contains ANSI/VT100 control sequences

func HasCodesBytes

func HasCodesBytes(b []byte) bool

HasCodes returns true if given byte slice contains ANSI/VT100 control sequences

func RemoveCodes

func RemoveCodes(s string) string

RemoveCodesBytes returns string without all ANSI/VT100 control sequences

func RemoveCodesBytes

func RemoveCodesBytes(b []byte) []byte

RemoveCodesBytes returns byte slice without all ANSI/VT100 control sequences

Types

This section is empty.

Jump to

Keyboard shortcuts

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