úÎ?(9åH      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGDaniel Mendler (c) 2016,MIT (see the file LICENSE)mail@daniel-mendler.de experimentalportableSafe)CAbstract state datatype which keeps a stack of the applied styles.State accessor for the Style commands Bold fontNormal-weight font Italic fontNon-italic font Underlined text Text without underline &Invert foreground and background color Deactivate color inversion Save style to stackRestore style from stackReset to default styleActivate blinkingDeactivate blinkingGTerminal type. For older terminals the style is automatically degraded.Dumb terminal - no color output8 colors supported256 colors supportedTrue colors supported;Windows terminal. Will use emulation (Not yet implemented). Console color*Default terminal color (terminal specific),]Color from 256 color scheme. Color is automatically degraded to 8 colors for older terminals.-STrue color. Color is automatically degraded to 256 or 8 colors for older terminals.. The action (hGetTerm handle)* determines the terminal type of the file handle.iThe terminal type is determined by checking if the file handle points to a device and by looking at the $TERM environment variable.H2Determine the terminal type from the value of the $TERM) environment variable. TODO improve this/9(hDefaultStyle handle term) return the default (initial) " configured with the file handle handle and terminal type term@.Every  has a single associated handle.0 The function (defaultStyle term) returns the default  configured with terminal type term.1 The action (hRunStyle handle action) runs the I) monad transformer providing the active  for the given action.2 The action (runStyle term action) runs the J monad providing the active  for the given action.3 The action (runStyleT term action) runs the I) monad transformer providing the active  for the given action.4 The action (runWithStyle cmd action) runs the I) monad transformer providing the active  for the given action.The output on K within the action is modified by the given StyleSet commands cmd. The ( is restored to the defaults afterwards.5 The action !(hRunWithStyle handle cmd action) runs the I) monad transformer providing the active  for the given action.The output on handle within the action is modified by the given StyleSet commands cmd. The ( is restored to the defaults afterwards.6 The action (changeStyle cmd) modifies the active  by executing the StyleSet commands cmd without applying the changes.9You have to call applyStyle or applyStyleCode afterwards!7 The action  applyStyle" applies the latest style changes.8 The action applyStyleCode4 returns the ANSI code for the latest style changes.9 The action (styleCode cmd), returns the ANSI code corresponding to the StyleSet commands cmd.: The action (setStyle cmd) modifies the active  by executing the StyleSet commands cmd.*The style changes are applied immediately.; The action (withStyle cmd action) executes the action with the active  modified by the StyleSet commands cmd.&The style is restored to the previous  afterwards.YLMNOPQRSTUVWXY  !"#$%&'()*+,-.H/0Z123456789:;[\]^_`abcdef<<  !"#$%&'()*+,-./0123456789:;< !"#$%&'()*+,- 0/.15234:9;678#LMNOPQRSTUVWXY  !"#$%&'()*+,-.H/0Z123456789:;[\]^_`abcdef<g      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMKLNOPQRRSTUVWXYZ[\]^_`abcdefghijk,console-style-0.0.2.0-EYsdZ8wKLxVIijJceMBWhjSystem.Console.StyleStyleHasStylegetStyleputStyleSetStyleBoldNotBoldItalic NotItalicUnderNotUnderInvert NotInvertSaveRestoreResetBlinkNotBlinkFgColorBgColorTermTermDumbTerm8Term256TermRGBTermWinColor DefaultColorBlackRedGreenYellowBlueMagentaCyanWhite DullBlackDullRed DullGreen DullYellowDullBlue DullMagentaDullCyan DullWhiteColor256RGBhGetTerm hDefaultStyle defaultStyle hRunStylerunStyle runStyleT runWithStyle hRunWithStyle changeStyle applyStyleapplyStyleCode setStyleCodesetStyle 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 styleActive styleHandle styleTermdefaultStyleState reduceColor rgbToWord8 gray24ToANSIcolor216ToANSI color16ToANSI squareNorm rgbToANSI reduceColor8reduceColor256csisgrCode sgrColorArgs