Documentation
¶
Index ¶
- Constants
- func Fprintf(w io.Writer, format string, a ...any) (int, error)
- func GetSize(fd int) (width, height int, err error)
- func IsCygwinTerminal(fd uintptr) bool
- func IsNativeTerminal(fd uintptr) bool
- func IsTerminal(fd uintptr) bool
- func SanitizeANSI(content string, allowColor bool) string
- func SanitizedF(format string, a ...any) (int, error)
- func StripANSI(s string) string
- type Level
Constants ¶
View Source
const ( CHAR_UNSPECIFIED = 0 CHAR_COLOR_SEQUENCE = 1 CHAR_CONTROL = 2 )
Variables ¶
This section is empty.
Functions ¶
func IsCygwinTerminal ¶
func IsNativeTerminal ¶
func IsTerminal ¶
func SanitizeANSI ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.