úÎBç=åG      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFportable (FFI) experimentaljudah.jacobson@gmail.com&GHIJKLMNOPEA type class to encapsulate capabilities which take in zero or more  parameters. Q[An action which sends output to the terminal. That output may mix plain text with control < characters and escape sequences, along with delays (called "padding") required by some older  terminals. RHA parameter to specify the number of lines affected. Some capabilities  (e.g., clear and dch1) use F this parameter on some terminals to compute variable-length padding. SA feature or operation which a  may define. TUVW =Initialize the terminfo library to the given terminal entry. +Initialize the terminfo library, using the TERM environmental variable.  If TERM/ is not set, we use the generic, minimal entry dumb. X 7Look up a numeric capability in the terminfo database. 9Look up a boolean capability in the terminfo database. Unlike *, this capability never fails; it returns Y if the 3 capability is absent or set to false, and returns Z otherwise. CLook up a boolean capability in the terminfo database, and fail if  it's not defined. 8Look up a string capability in the terminfo database. 8Note: Do not use this function for terminal output; use   instead. [9Look up an output capability in the terminfo database. \IOutput a string capability. Applys padding information to the string if  necessary. 9Write the terminal output to the standard output device. GWrite the terminal output to the terminal or file managed by the given  ]. HOutput plain text containing no control characters or escape sequences. FLook up an output capability which takes a fixed number of parameters  (for example, Int -> Int -> TermOutput). 3For capabilities which may contain variable-length  padding, use  instead. An operator version of .      portable (FFI) experimentaljudah.jacobson@gmail.com KLook up the control sequence for a given function sequence. For example,  functionKey 12 retrieves the kf12 capability.    portable (FFI) experimentaljudah.jacobson@gmail.com !"#$%GThis flag specifies that the cursor wraps automatically from the last 5 column of one line to the first column of the next. &EThis flag specifies that a backspace at column 0 wraps the cursor to ' the last column of the previous line. '7This flag specifies that the terminal does not perform  %:-style wrapping when the character which would cause the $ wraparound is a control character.  This is also known as the "newline glitch" or " magic wrap". IFor example, in an 80-column terminal with this behavior, the following 4 will print single-spaced instead of double-spaced: 3 replicateM_ 5 $ putStr $ replicate 80 'x' ++ "\n" ^()*+,-./_`01234The cr? capability, which moves the cursor to the first column of the  current line. 5The nel; capability, which moves the cursor to the first column of L the next line. It behaves like a carriage return followed by a line feed. If nel> is not defined, this may be built out of other capabilities. 6789: !"#$%&'()*+,-./0123456789:#$%&'45673012()*+,-./8 !":9 !" !"#$%&'()*+,-./0123456789:portable (FFI) experimentaljudah.jacobson@gmail.com a;<=>?@AB;<=>?@ABAB;<=>?@;<=>?@ABportable (FFI) experimentaljudah.jacobson@gmail.comC9Clear the screen, and move the cursor to the upper left. D(Clear from beginning of line to cursor. E"Clear from cursor to end of line. FClear display after cursor. CDEFCDEFCDEFportable (FFI) experimentaljudah.jacobson@gmail.comG  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFb      !"#$%&'(()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[[\]^_]^`abcdefghiterminfo-0.2.2.1System.Console.Terminfo.BaseSystem.Console.Terminfo.KeysSystem.Console.Terminfo.CursorSystem.Console.Terminfo.EffectsSystem.Console.Terminfo.EditSystem.Console.Terminfobase Data.MonoidmconcatmappendmemptyMonoid OutputCap TermOutput LinesAffected CapabilityTerminal setupTermsetupTermFromEnv getCapabilitytiGetNum tiGetFlag tiGuardFlagtiGetStr tiGetOutput runTermOutputhRunTermOutputtermText tiGetOutput1<#>keypadOn keypadOffkeyUpkeyDownkeyLeftkeyRight functionKey keyBackspace keyDeleteCharPointrowcol termLines termColumnsautoRightMarginautoLeftMarginwraparoundGlitch cursorDown1 cursorLeft1 cursorRight1 cursorUp1 cursorDown cursorLeft cursorRightcursorUpmoveLeft moveRightmoveUpmoveDowncarriageReturnnewline scrollForward scrollReverse cursorAddress columnAddress rowAddress withStandout withUnderlineenterStandoutModeexitStandoutModeenterUnderlineModeexitUnderlineModebell visualBell clearScreenclearBOLclearEOLclearEOStputs mkCallbacktparmtigetstr tigetflagtigetnum setupterm del_curterm set_curtermcur_term outputCap CharOutputTERMINAL withCurTermghc-primGHC.BoolFalseTruetParmtPutsGHC.IO.Handle.TypesHandlecursorDown1Fixed cursorHome cursorToLLwrapWith