monky-2.0.0.0: A system state collecting library and application

Maintainerongy
Stabilitytesting
PortabilityLinux
Safe HaskellNone
LanguageHaskell2010

Monky.Outputs.Fallback

Description

 

Synopsis

Documentation

data WrapOuts #

The datatype for wrapping outher outputs

Instances

MonkyOutput WrapOuts # 

Methods

doLine :: WrapOuts -> [[MonkyOut]] -> IO () #

getFallbackOut #

Arguments

:: MonkyOutput a 
=> IO a

The output to use for non-terminal mode

-> IO WrapOuts 

Wrapper for normal outputs that tries to find the best output

This function will check if stdout is a terminal and switch to AsciiOut or UTf8Out depending on the locale