mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 21:43:18 -07:00
more lint driven refactoring
This commit is contained in:
parent
7919cda5ec
commit
0de6f3a76e
57 changed files with 168 additions and 241 deletions
2
main.go
2
main.go
|
@ -20,7 +20,7 @@ func main() {
|
|||
defer sess.Close()
|
||||
|
||||
if core.HasColors == false {
|
||||
if *sess.Options.NoColors == true {
|
||||
if *sess.Options.NoColors {
|
||||
fmt.Printf("\n\nWARNING: Terminal colors have been disabled, view will be very limited.\n\n")
|
||||
} else {
|
||||
fmt.Printf("\n\nWARNING: This terminal does not support colors, view will be very limited.\n\n")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue