mirror of
https://github.com/bettercap/bettercap
synced 2025-07-15 09:33:40 -07:00
balls
This commit is contained in:
parent
68d3af261f
commit
09df8e4de3
1 changed files with 2 additions and 1 deletions
|
@ -30,7 +30,8 @@ var (
|
|||
)
|
||||
|
||||
func init() {
|
||||
NoColors := os.Getenv("TERM") == "dumb" ||
|
||||
NoColors = os.Getenv("TERM") == "dumb" ||
|
||||
os.Getenv("TERM") == "" ||
|
||||
(!isatty.IsTerminal(os.Stdout.Fd()) && !isatty.IsCygwinTerminal(os.Stdout.Fd()))
|
||||
if NoColors {
|
||||
BOLD = ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue