úÎv^oT…      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„ Safe-InferredÿA chunk is some textual data coupled with a description of what color the text is, attributes like whether it is bold or underlined, etc. The chunk knows what foreground and background colors and what attributes to use for both an 8 color terminal and a 256 color terminal.%The text is held as a list of strict ….The TextSpec bundles together the styles for the 8 and 256 color terminals, so that the text can be portrayed on any terminal.Describes text appearance (foreground and background colors, as well as other attributes such as bold) for a 256 color terminal. €Describes text appearance (foreground and background colors, as well as other attributes such as bold) for an 8 color terminal.áStyle elements that apply in both 8 and 256 color terminals. However, the elements are described separately for 8 and 256 color terminals, so that the text appearance can change depending on how many colors a terminal has.EColor for an 256-color terminal. Does not affect 8-color terminals.hNothing indicates to use the default color for the terminal; otherwise, use the corresponding Terminfo †.EColor for an 8-color terminal. Does not affect 256-color terminals.hNothing indicates to use the default color for the terminal; otherwise, use the corresponding Terminfo †.&A simple enumeration for eight values.+!Which terminal definition to use.,ÿšUse the terminal with this given name. You might get this from the TERM environment variable, or set it explicitly. A runtime error will result if the terminfo database does not have a definition for this terminal. If this terminal supports 256 colors, then 256 colors are used. If this terminal supports less than 256 colors, but at least 8 colors, then 8 colors are used. Otherwise, no colors are used.-“Using this terminal should always succeed. This suppresses all colors. Uesful if output is not going to a TTY, or if you just do not like colors..jGets the terminal definition from the environment. If the environment does not have a TERM veriable, use -./bGets the terminal definition from the environment and a handle. If the handle is not a terminal, -I is returned. Otherwise, the terminal is obtained from the environment.3LAny color for an 8-color terminal can also be used in a 256-color terminal.4 Creates a  from a strict …- with default colors and no special effects.5 Creates a  from a lazy ‡- with default colors and no special effects.8ÿGets the right set of terminal codes to apply the desired highlighting, bold, underlining, etc. Be sure to apply the attributes first (bold, underlining, etc) and then the colors. Setting the colors first and then the attributes seems to reset the colors, giving blank output.:›Sends a list of chunks to the given handle for printing. Sets up the terminal (this only needs to be done once.) Lazily processes the list of Chunk. See ;( for notes on how many colors are used.;•Sends a list of chunks to standard output for printing. Sets up the terminal (this only needs to be done once.) Lazily processes the list of Chunk.'Which colors are used depends upon the + . If it is --, then no colors are used on output. If the + is specified with ,ÿ0, the UNIX terminfo library is used to determine how many colors the terminal supports. If it supports at least 256 colors, then 256 colors are used. If it supports at least 8 colors but less than 256 colors, then 256 colors are used. Otherwise, no colors are used. A runtime error will occur if the ,/ is not found in the system terminal database.<&Print one chunk at a time, to a handle=-Print one chunk at a time, to standard output>8Print one chunk at a time, to a handle, append a newline??Print one chunk at a time, to standard output, append a newlinePÿƒBold. What actually happens when you use Bold is going to depend on your terminal. For example, xterm allows you actually use a bold font for bold, if you have one. Otherwise, it might simulate bold by using overstriking. Another possibility is that your terminal might use a different color to indicate bold. For more details (at least for xterm), look at xterm (1) and search for  boldColors.lIf your terminal uses a different color for bold, this allows an 8-color terminal to really have 16 colors.^  !"#$%&'()*+,-./NCheck this handle to see if it is a terminal (typically you will use stdout).0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]X  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVW^+-,./*)('&%$#"! 0123] \ [ZY45X6789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVW= &%$#"! '()*+-,./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\] Safe-Inferred ^qChanging colors. Instances of this class affect the background or the foreground color. For example, to get a * that changes the background to red, use _ y; for the foreground, use ` yf. Whether 8-color or 256-color terminals (or both) are affected depends on the particular instance.Because ˆ is an instance of ^t, you can use literals to affect the color of 256-color terminals. For example, if you have a 256 color terminal: =putChunkLn $ "muddy yellow background" <> back (100 :: Word8):This example would not affect an 8-color terminal, as the ˆ, instance affects 256-color terminals only._ Create a ( that affects the background color only.` Create a ( that affects the foreground color only.aA a5 affects both 8- and 256-color terminals. (It does notŸ necessarily affect both the foreground and background; whether it affects the foreground, background, or both depends upon the context in which it is used.)dIf ‰ , use the c color on 256-color terminals.e‰Resets the color (foreground or background, as appropriate) to the default for your terminal. Usually you will not need this, as each / starts out with the terminal's default colors.n‰Resets the color (foreground or background, as appropriate) to the default for your terminal. Usually you will not need this, as each / starts out with the terminal's default colors.€=Affects the foreground and background of 256-color terminals.;Affects the foreground and background of 8-color terminals.‚JAffects the foreground and background of both 8- and 256-color terminals.'^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„"^_`abcdefghijklmnopqrstuvwxyz{|}~'efghijklmnopqrstuvabcdwxyz{|}~^_`„ƒ‚€"^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„ Safe-InferredL !"#$%&+,-./345:;<=>?@BDFHJLNPRTV^_`abcdfghijklmopqrstuvxyz{|}~L+-,./45;:=?<>PVTR@BDFJHNL^_`abcdxyz{|}~&%$#"! fghijklmopqrstuv3Š       !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…[†ƒ‡ˆ‰‡Š‹Œrainbow-0.20.0.0 Rainbow.TypesRainbow.ColorsRainbowChunktextSpectextTextSpecstyle8style256Style256 foreground256 background256 common256Style8 foreground8 background8common8 StyleCommonscBold scUnderlinescFlash scInverseColor256 unColor256Color8unColor8Enum8E7E6E5E4E3E2E1E0 Foreground256 Foreground8 Background256 Background8TermTermNameDumb termFromEnvsmartTermFromEnv enum8toWord8color8toTerminfocolor256toTerminfoto256fromText fromLazyText defaultColors commonAttrs getTermCodes hPrintChunk hPutChunks putChunks hPutChunkputChunk hPutChunkLn putChunkLnbold8bold8off underline8 underline8offflash8 flash8offinverse8 inverse8off underline256underline256offbold256 bold256off inverse256 inverse256offflash256 flash256offboldboldOffinverse inverseOffflashflashOff underline underlineOff $fMonoidChunk$fIsStringChunk$fMonoidTextSpec$fMonoidStyle256$fMonoidStyle8$fMonoidStyleCommonColorbackforeRadiantrad8rad256noColor8black8red8green8yellow8blue8magenta8cyan8white8 noColor256grey brightRed brightGreen brightYellow brightBlue brightMagenta brightCyan brightWhitebothblackredgreenyellowbluemagentacyanwhite $fColorWord8 $fColorEnum8$fColorRadiant$fColorColor256 $fColorColor8 text-1.1.1.3Data.Text.InternalTextterminfo-0.4.0.0System.Console.Terminfo.ColorData.Text.Internal.LazybaseGHC.WordWord8 Data.MaybeNothing