Update stdout logging regarding clipboard refresher

This commit is contained in:
2025-11-10 01:02:05 -05:00
parent 14dda0b091
commit b39a40407f
6 changed files with 20 additions and 21 deletions
+2 -4
View File
@@ -12,9 +12,7 @@ import (
// ANSI color constants used only in this file
const (
AnsiDelete = "\033[38;5;1m"
AnsiDownload = "\033[38;5;2m"
AnsiUpload = "\033[38;5;4m"
AnsiDelete = "\033[38;5;1m"
)
var RootLength = len(global.EntryRoot) // length of global.EntryRoot string
@@ -119,7 +117,7 @@ func AddFolderLocal(targetLocationIncomplete string) error {
err := os.Mkdir(targetLocationComplete, 0700)
if err != nil {
if os.IsExist(err) {
fmt.Println(AnsiUpload + "Directory already exists - libmutton will still ensure it exists on the server")
fmt.Println(back.AnsiBlue + "Directory already exists - libmutton will still ensure it exists on the server")
} else {
return errors.New("unable to create directory: " + err.Error())
}