terminal

package
v2.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTerminalWidth

func GetTerminalWidth() int

GetTerminalWidth tries to figure out the width of the terminal and returns it returns 0 if there are problems in getting the width.

func IsStderrTerminal

func IsStderrTerminal() bool

IsStderrTerminal returns true if the terminal is stderr

func IsStdoutTerminal

func IsStdoutTerminal() bool

IsStdoutTerminal returns true if the terminal is stdout

Types

This section is empty.

Jump to

Keyboard shortcuts

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