mirror of
https://github.com/Jguer/yay
synced 2024-10-31 04:12:51 +00:00
Fixes black on black terminal message. Closes #13
This commit is contained in:
parent
1ebe472123
commit
771410bc03
2 changed files with 3 additions and 3 deletions
|
@ -225,10 +225,10 @@ func LocalStatistics(version string) error {
|
||||||
|
|
||||||
for _, res := range q {
|
for _, res := range q {
|
||||||
if res.Maintainer == "" {
|
if res.Maintainer == "" {
|
||||||
fmt.Printf("\x1b[1;31;40mWarning: \x1B[1;33;40m%s\x1b[0;;40m is orphaned.\x1b[0m\n", res.Name)
|
fmt.Printf("\x1b[1;31;40mWarning: \x1B[1;33;40m%s\x1b[0;37;40m is orphaned.\x1b[0m\n", res.Name)
|
||||||
}
|
}
|
||||||
if res.OutOfDate != 0 {
|
if res.OutOfDate != 0 {
|
||||||
fmt.Printf("\x1b[1;31;40mWarning: \x1B[1;33;40m%s\x1b[0;;40m is out-of-date in AUR.\x1b[0m\n", res.Name)
|
fmt.Printf("\x1b[1;31;40mWarning: \x1B[1;33;40m%s\x1b[0;37;40m is out-of-date in AUR.\x1b[0m\n", res.Name)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -127,7 +127,7 @@ func Editor() string {
|
||||||
} else if os.Getenv("VISUAL") != "" {
|
} else if os.Getenv("VISUAL") != "" {
|
||||||
return os.Getenv("VISUAL")
|
return os.Getenv("VISUAL")
|
||||||
} else {
|
} else {
|
||||||
fmt.Printf("\x1b[1;31;40mWarning: \x1B[1;33;40m$EDITOR\x1b[0;;40m is not set.\x1b[0m\nPlease add $EDITOR or to your environment variables.\n")
|
fmt.Printf("\x1b[1;31;40mWarning: \x1B[1;33;40m$EDITOR\x1b[0;37;40m is not set.\x1b[0m\nPlease add $EDITOR or to your environment variables.\n")
|
||||||
|
|
||||||
editorLoop:
|
editorLoop:
|
||||||
fmt.Printf("\x1b[32m%s\x1b[0m ", "Edit PKGBUILD with:")
|
fmt.Printf("\x1b[32m%s\x1b[0m ", "Edit PKGBUILD with:")
|
||||||
|
|
Loading…
Reference in a new issue