úÎ-0(E      !"#$%&'()*+,-./0123456789:;<=>?@ABCDDaniel Mendler (c) 2016,MIT (see the file LICENSE)mail@daniel-mendler.de experimentalportableSafe . The action (hGetTerm handle)1 determines the terminal type of the file handle handle.„The terminal type is determined by checking if the file handle points to a device and by looking at the $TERM environment variable.E`Determine the terminal type from the value of the $TERM environment variable. TODO improve this/`(hDefaultStyle handle term) return the default (initial) style configured with the file handle handle and terminal type term@.+Every style has a single associated handle.0(defaultStyle term)9 returns the default style configured with terminal type term.1 The action (hRunStyle handle action) runs the F= monad transformer providing the active style for the given action.2 The action (runStyle term action) runs the G1 monad providing the active style for the given action.3 The action (runWithStyle cmd action) runs the F= monad transformer providing the active style for the given action.The output on H within the action) is modified by the given style commands cmd4. The style is restored to the defaults afterwards.4 The action !(hRunWithStyle handle cmd action) runs the F= monad transformer providing the active style for the given action.The output on handle within the action) is modified by the given style commands cmd4. The style is restored to the defaults afterwards.5 The function (styleCode' style cmd)V returns the modified style status and ANSI code corresponding to the style commands cmd.6 The action (styleCode cmd); returns the ANSI code corresponding to the style commands cmd\. This action must be executed within a monadic context providing the current style status.7 The action (setStyle cmd)< modifies the current style by executing the style commands cmd.8 The action (withStyle cmd action) executes the action8 with the current style modified by the style commands cmd.@The style is restored to the previously active style afterwards.VIJKLMNOPQRSTU  !"#$%&'()*+,-.E/0V12345678WXYZ[\]^_`abc99  !"#$%&'()*+,-./0123456789 !"#$%&'()*+,- 0/.14237568!IJKLMNOPQRSTU  !"#$%&'()*+,-.E/0V12345678WXYZ[\]^_`abc9d      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJHIKLMNOOPQRSTUVWXYZ[\]^_`abcdefgh,console-style-0.0.1.1-CvGG1dE2lxgGBh0heRzDb3System.Console.StyleStyleHasStylegetStyleputStyleSetStyleBoldNotBoldItalic NotItalicUnderNotUnderInvert NotInvertSaveRestoreResetBlinkNotBlinkFgColorBgColorTermTermDumbTerm8Term256TermRGBTermWinColor DefaultColorBlackRedGreenYellowBlueMagentaCyanWhite DullBlackDullRed DullGreen DullYellowDullBlue DullMagentaDullCyan DullWhiteColor256RGBhGetTerm hDefaultStyle defaultStyle hRunStylerunStyle runWithStyle hRunWithStyle styleCode' styleCodesetStyle withStyle$fHasStyleStyle $fEqColor $fOrdColor $fShowColor$fEqTerm $fShowTerm $fEqSetStyle $fOrdSetStyle$fShowSetStyle$fEqStyleState$fOrdStyleState$fShowStyleState envToTermtransformers-0.5.2.0 Control.Monad.Trans.State.StrictStateTStatebaseGHC.IO.Handle.FDstdout StyleState styleBold styleItalic styleUnder styleInvert styleBlinkstyleFgstyleBg styleStack styleHandle styleTermdefaultStyleState updateStyle reduceColor rgbToWord8 gray24ToANSIcolor216ToANSI color16ToANSI squareNorm rgbToANSI reduceColor8reduceColor256csisgrCode sgrColorArgs