Files
demoCode/golang/logUse/ansi/ansi_support.go

11 lines
226 B
Go
Raw Normal View History

2026-03-23 11:01:29 +08:00
//go:build !windows
// +build !windows
package ansi
// EnableANSIConsole 启用控制台 ANSI 转义序列支持
// 在非 Windows 系统上,默认已支持 ANSI 转义序列
func EnableANSIConsole() bool {
return true
}