mirror of
https://github.com/onyx-and-iris/gobs-cli.git
synced 2026-01-26 15:47:54 +00:00
replace emoji-style tick/cross + N/A with cleaner symbols.
update screenshots.
This commit is contained in:
parent
7855ce5d54
commit
6a629ec3e9
BIN
img/coloured-border.png
Executable file → Normal file
BIN
img/coloured-border.png
Executable file → Normal file
Binary file not shown.
|
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 5.4 KiB |
BIN
img/coloured-no-border.png
Executable file → Normal file
BIN
img/coloured-no-border.png
Executable file → Normal file
Binary file not shown.
|
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 5.4 KiB |
2
input.go
2
input.go
@ -131,7 +131,7 @@ func (cmd *InputListCmd) Run(ctx *context) error {
|
||||
)
|
||||
if err != nil {
|
||||
if err.Error() == "request GetInputMute: InvalidResourceState (604): The specified input does not support audio." {
|
||||
muteMark = "N/A"
|
||||
muteMark = "—"
|
||||
} else {
|
||||
return fmt.Errorf("failed to get input mute state: %w", err)
|
||||
}
|
||||
|
||||
4
util.go
4
util.go
@ -24,12 +24,12 @@ func getEnabledMark(enabled bool) string {
|
||||
if os.Getenv("NO_COLOR") != "" { // nolint: misspell
|
||||
return "✓"
|
||||
}
|
||||
return "✅"
|
||||
return "●"
|
||||
}
|
||||
if os.Getenv("NO_COLOR") != "" { // nolint: misspell
|
||||
return "✗"
|
||||
}
|
||||
return "❌"
|
||||
return "○"
|
||||
}
|
||||
|
||||
func trimPrefix(s, prefix string) string {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user