Persist claims, AP, teams and presets with session receipts and atomic request rollback. Read rewards and growth from GameData; replace fixed Fiend Hunt user state and preserve the account initialization contract.
11 lines
173 B
Go
11 lines
173 B
Go
//go:build !windows
|
|
|
|
package logging
|
|
|
|
import (
|
|
"github.com/mattn/go-isatty"
|
|
"os"
|
|
)
|
|
|
|
func terminalSupportsColor(file *os.File) bool { return isatty.IsTerminal(file.Fd()) }
|