+build darwin

package logger

import (
	

	
)

const SupportsColorEscapes = true

func ( *os.File) ( TerminalInfo) {
	 := .Fd()
Is this file descriptor a terminal?
	if ,  := unix.IoctlGetTermios(int(), unix.TIOCGETA);  == nil {
		.IsTTY = true
		.UseColorEscapes = true
Get the width of the window
		if ,  := unix.IoctlGetWinsize(int(), unix.TIOCGWINSZ);  == nil {
			.Width = int(.Col)
			.Height = int(.Row)
		}
	}

	return
}

func ( *os.File,  string) {
	.WriteString()