h&      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~                                                                                                     None `vtyReturns the display width of a character. Assumes all characters with unknown widths are 0 width.vtyReturns the display width of a string. Assumes all characters with unknown widths are 0 width.vtyReturns the display width of a text. Assumes all characters with unknown widths are 0 width.vtyReturns the display width of a lazy text. Assumes all characters with unknown widths are 0 width. Safe-Inferred vtyCreate a value in the Color240 set from an RGB triple. This maps the input arguments to an entry in the 240-color palette depicted at: :https://rich.readthedocs.io/en/stable/appendix/colors.html vty5Create a RGB triple from a value in the Color240 set.   Safe-Inferred;=vty(Abstract data type representing a color.Currently the foreground and background color are specified as points in either a:16 color palette. Where the first 8 colors are equal to the 8 colors of the ISO 6429 (ANSI) 8 color palette and the second 8 colors are bright/vivid versions of the first 8 colors.240 color palette. This palette is a regular sampling of the full RGB colorspace for the first 224 colors. The remaining 16 colors is a greyscale palette.,The 8 ISO 6429 (ANSI) colors are as follows: black (0)red (1) green (2) yellow (3)blue (4) magenta (5)cyan (6) white (7)The mapping from points in the 240 color palette to colors actually displayable by the terminal depends on the number of colors the terminal claims to support. Which is usually determined by the terminfo "colors" property. If this property is not being accurately reported then the color reproduction will be incorrect.If the terminal reports <= 16 colors then the 240 color palette points are only mapped to the 8 color palette. I'm not sure of the RGB points for the "bright" colors which is why they are not addressable via the 240 color palette.If the terminal reports > 16 colors then the 240 color palette points are mapped to the nearest points in a ("color count" - 16) subsampling of the 240 color palette.All of this assumes the terminals are behaving similarly to xterm and rxvt when handling colors. And that the individual colors have not been remapped by the user. There may be a way to verify this through terminfo but I don't know it.,Seriously, terminal color support is INSANE.$vtyCreate a color value from RGB values in the 0..255 range inclusive. No transformation of the input values is done; a color is created directly from the RGB values specified, unlike the % and & functions.%vtyGiven RGB values in the range 0..255 inclusive, create a color using the sRGB transformation described at =https://en.wikipedia.org/wiki/SRGB#The_reverse_transformation'vty Create a Vty  (in the 240 color set) from an RGB triple. This is a synonym for &. This function is lossy in the sense that we only internally support 240 colors but the #RRGGBB format supports 256^3 colors.   !"#$%&'  !"#$%'& Safe-Inferred;='W0vtyStyles are represented as an 8 bit word. Each bit in the word is 1 if the style attribute assigned to that bit should be applied and 0 if the style attribute should not be applied.1vtyThe style and color attributes can either be the terminal defaults. Or be equivalent to the previously applied style. Or be a specific value.5vtySpecifies the display attributes such that the final style and color values do not depend on the previously applied display attribute. The display attributes can still depend on the terminal's default colors (unfortunately).;vtyA display attribute defines the Color and Style of all the characters rendered after the attribute is applied.At most 256 colors, picked from a 240 and 16 color palette, are possible for the background and foreground. The 240 colors and 16 colors are points in different palettes. See Color for more information.AvtyValid style attributes include:standout underline reverseVideoblinkdim bold/brightitalic7strikethrough (via the smxx/rmxx terminfo capabilities)(The invisible, protect, and altcharset display attributes some terminals support are not supported via VTY.)BvtyValid style attributes include:standout underline reverseVideoblinkdim bold/brightitalic7strikethrough (via the smxx/rmxx terminfo capabilities)(The invisible, protect, and altcharset display attributes some terminals support are not supported via VTY.)CvtyValid style attributes include:standout underline reverseVideoblinkdim bold/brightitalic7strikethrough (via the smxx/rmxx terminfo capabilities)(The invisible, protect, and altcharset display attributes some terminals support are not supported via VTY.)DvtyValid style attributes include:standout underline reverseVideoblinkdim bold/brightitalic7strikethrough (via the smxx/rmxx terminfo capabilities)(The invisible, protect, and altcharset display attributes some terminals support are not supported via VTY.)EvtyValid style attributes include:standout underline reverseVideoblinkdim bold/brightitalic7strikethrough (via the smxx/rmxx terminfo capabilities)(The invisible, protect, and altcharset display attributes some terminals support are not supported via VTY.)FvtyValid style attributes include:standout underline reverseVideoblinkdim bold/brightitalic7strikethrough (via the smxx/rmxx terminfo capabilities)(The invisible, protect, and altcharset display attributes some terminals support are not supported via VTY.)GvtyValid style attributes include:standout underline reverseVideoblinkdim bold/brightitalic7strikethrough (via the smxx/rmxx terminfo capabilities)(The invisible, protect, and altcharset display attributes some terminals support are not supported via VTY.)HvtyValid style attributes include:standout underline reverseVideoblinkdim bold/brightitalic7strikethrough (via the smxx/rmxx terminfo capabilities)(The invisible, protect, and altcharset display attributes some terminals support are not supported via VTY.)Kvty:true if the given Style value has the specified Style set.LvtySet the foreground color of an ;.MvtySet the background color of an ;.NvtyAdd the given style attributeOvty)Add a hyperlinked URL using the proposed  https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda'escape sequences for hyperlinked URLs. These escape sequences are comparatively new and aren't widely supported in terminal emulators yet, but most terminal emulators that don't know about these sequences will ignore these sequences, and therefore this should fall back sensibly. In some cases they won't and this will result in garbage, so this is why hyperlinking is disabled by default, in which case this combinator has no observable effect. To enable it, enable  Hyperlink$ mode on your Vty output interface.PvtySets the style, background color and foreground color to the default values for the terminal. There is no easy way to determine what the default background and foreground colors are.QvtyKeeps the style, background color and foreground color that was previously set. Used to override some part of the previous style.EG: current_style L brightMagentaWould be the currently applied style (be it underline, bold, etc) but with the foreground color set to brightMagenta.   !"#$%&'0123456789:;<=>?@ABCDEFGHIJKLMNOPQ";<=>?@56789:1234PQ0NAGHBCDEFIJKLMO Safe-Inferred,avtyStyle attribute changes are transformed into a sequence of apply/removes of the individual attributes.rvty7Difference between two display color attribute changes.vvtydifference between two display attributes. Used in the calculation of the operations required to go from one display attribute to the next.Previously, vty would reset display attributes to default then apply the new display attributes. This turned out to be very expensive: A *lot* more data would be sent to the terminal than required.|vtyGiven the previously applied display attributes as a FixedAttr and the current display attributes as an Attr produces a FixedAttr that represents the current display attributes. This is done by using the previously applied display attributes to remove the  KeepCurrent abstraction.vty:Used in the computation of a final style attribute change.vtyConsider two display color attributes diffs. What display color attribute diff are these equivalent to?vtyConsider two URL changes, which are mostly going to be the latter unless the latter specifies no change.}vtyDetermines the diff between two display&color attributes. This diff determines the operations that actually get output to the terminal.!]_^`abcdefghijklmnopqrtsuvwxyz{|}!vwxyz{abcdefghijklmnopqrtsu]_^`|} Safe-Inferred.vty'The type of exceptions specific to vty.These have fully qualified names by default since, IMO, exception handling requires this.vty&Uncategorized failure specific to vty. Safe-Inferred';8vtyThis is the internal representation of Images. Use the constructors in Graphics.Vty.Image to create instances. Images are:a horizontal span of text+a horizontal or vertical join of two imagesa two dimensional fill of the Pictures background charactera cropped image%an empty image of no size or content.vty-A horizontal text span has a row height of 1.vtyA horizontal join can be constructed between any two images. However a HorizJoin instance is required to be between two images of equal height. The horizJoin constructor adds background fills to the provided images that assure this is true for the HorizJoin value produced.vtyA veritical join can be constructed between any two images. However a VertJoin instance is required to be between two images of equal width. The vertJoin constructor adds background fills to the provides images that assure this is true for the VertJoin value produced.vtyA background fill will be filled with the background char. The background char is defined as a property of the Picture this Image is used to form.vty Crop an imagevtyThe empty image7The combining operators identity constant. EmptyImage  | a = a EmptyImage  - a = a.Any image of zero size equals the empty image.vtyThe text to display. The display width of the text is always outputWidth.vty+The number of display columns for the text.vty%the number of characters in the text.vty9imageHeight partLeft == imageHeight partRight. Always > 0vty,pretty print just the structure of an image.vtyThe width of an Image. This is the number display columns the image will occupy.vtyThe height of an Image. This is the number of display rows the image will occupy.vty combines two images side by sideCombines text chunks where possible. Assures outputWidth and outputHeight properties are not violated.The result image will have a width equal to the sum of the two images width. And the height will equal the largest height of the two images. The area not defined in one image due to a height mismatch will be filled with the background pattern.vtycombines two images verticallyThe result image will have a height equal to the sum of the heights of both images. The width will equal the largest width of the two images. The area not defined in one image due to a width mismatch will be filled with the background pattern.vtyAppend in the  instance is equivalent to <->.vtyAppend in the  instance is equivalent to <->. Safe-Inferred%'Mvty2A region of the display (first width, then height)vty)An area of the picture's background (See  Background).vty7Combines two images horizontally. This is an alias for .infixr 5vty5Combines two images vertically. This is an alias for .infixr 4vtyCompose any number of images together horizontally, with the first in the list being leftmost.vtyCompose any number of images vertically, with the first in the list being topmost.vtyMake an  from a lazy text value. The text value should be sanitized of escape sequences (ASCII 27) and carriage returns; otherwise layout and attribute problems may result.vtyMake an  from a text value. The text value should be sanitized of escape sequences (ASCII 27) and carriage returns; otherwise layout and attribute problems may result.vtyMake an image from a single character. This is a standard Haskell 31-bit character assumed to be in the ISO-10646 encoding.vtyMake an image from a string of characters laid out on a single row with the same display attribute. The string is assumed to be a sequence of ISO-10646 characters. The input string should be sanitized of escape sequences (ASCII 27) and carriage returns; otherwise layout and attribute problems may result.Note: depending on how the Haskell compiler represents string literals, a string literal in a UTF-8 encoded source file, for example, may be represented as a ISO-10646 string. That is, I think, the case with GHC 6.10. This means, for the most part, you don't need to worry about the encoding format when outputting string literals. Just provide the string literal directly to iso10646String or string.vtyMake an  from a .This is an alias for iso10646String since the usual case is that a literal string like "foo" is represented internally as a list of ISO 10646 31 bit characters.Note: Keep in mind that GHC will compile source encoded as UTF-8 but the literal strings, while UTF-8 encoded in the source, will be transcoded to a ISO 10646 31 bit characters runtime representation.vtyMake an  from a string of characters layed out on a single row. The input is assumed to be the bytes for UTF-8 encoded text.vtyMake an & from a UTF-8 encoded lazy bytestring.vtyMake an ( from a UTF-8 encoded strict bytestring.vtyIf translation offsets are negative then the image is cropped.vty9Translates an image by padding or cropping its left side.vty3Translates an image by padding or cropping its top.vtyEnsure an image is no larger than the provided size. If the image is larger then crop the right or bottom.This is equivalent to a vertical crop from the bottom followed by horizontal crop from the right.vtyCrop an image's height. If the image's height is less than or equal to the specified height then this operation has no effect. Otherwise the image is cropped from the bottom.vtyCrop an image's width. If the image's width is less than or equal to the specified width then this operation has no effect. Otherwise the image is cropped from the right.vtyCrop an image's width. If the image's width is less than or equal to the specified width then this operation has no effect. Otherwise the image is cropped from the left.vtyCrop an image's height. If the image's height is less than or equal to the specified height then this operation has no effect. Otherwise the image is cropped from the top.vtyGeneric resize. Pads and crops are added to ensure that the resulting image matches the specified dimensions. This is biased to pad/crop the right and bottom.vtyResize the width. Pads and crops as required to assure the given display width. This is biased to pad/crop on the right.vtyResize the height. Pads and crops as required to assure the given display height. This is biased to pad/crop on the bottom.vtyFill width in columnsvtyFill height in rowsvtyThe attribute to use.vty+The character to use in filling the region.vtyThe region width.vtyThe region height.vty6How much padding to add to the left side of the image.vty0How much padding to add to the top of the image.vty7How much padding to add to the right side of the image.vty3How much padding to add to the bottom of the image.vtyThe image to pad.vty3The horizontal translation offset (can be negative)vty1The vertical translation offset (can be negative)vtyThe image to translate.vtyCropping widthvtyCropping heightvtyThe image to crop++54 Safe-Inferred;U vtyThe type of internal events that drive the internal Vty event dispatching to the application.vtyVty resumed operation after the process was interrupted (e.g. with a signal). In practice this translates into a screen redraw in the input event loop.vtyAn input event was received.vtyEvents.vty8A keyboard key was pressed with the specified modifiers.vtyA mouse button was pressed at the specified column and row. Any modifiers available in the event are also provided.vtyA mouse button was released at the specified column and row. Some terminals report only that a button was released without specifying which one; in that case, Nothing is provided. Otherwise Just the button released is included in the event.vtyA paste event occurs when a bracketed paste input sequence is received. For terminals that support bracketed paste mode, these events will be triggered on a paste event. Terminals that do not support bracketed pastes will send the paste contents as ordinary input (which is probably bad, so beware!) Note that the data is provided in raw form and you'll have to decode (e.g. as UTF-8) if that's what your application expects.vty6The terminal running the application lost input focus.vty8The terminal running the application gained input focus.vtyMouse buttons.vtyModifier keys. Key codes are interpreted such that users are more likely to have Meta than Alt; for instance on the PC Linux console, 3 will generally correspond to the physical Alt key.vty%Representations of non-modifier keys.KFun is indexed from 0 to 63. Range of supported FKeys varies by terminal and keyboard.KUpLeft, KUpRight, KDownLeft, KDownRight, KCenter support varies by terminal and keyboard.Actually, support for most of these but KEsc, KChar, KBS, and KEnter vary by terminal and keyboard.11  Safe-InferredYvtyThe library's input-processing abstraction. Platform-specific implementations must implement an  and provide it to .vtyA channel of events generated by input processing. The input implementation must write its input events to this channel; the Vty event loop will read from this channel and provide the events to the user's application via  nextEvent.vtyShut down the input processing. As part of shutting down the input, this should also restore the input state if appropriate.vtyRestore the terminal's input state to what it was prior to configuring the input for Vty. This should be done as part of 6 but is exposed in case it needs to be used directly.vtyLog the specified message.7  Safe-Inferredegvty6The result of a configuration change attempt made by .vtyA new configuration file file was written with the new width table entry.vtyAn existing configuration file was modified with the new width table entry.vtyThe attempted width table entry could not be written to the configuration due to a conflict; the argument here is the width table file path for the conflicting entry.vtyNo change was made because the existing configuration already contains the specified mapping.vtyA Vty core library configuration. Platform-specific details are not included in the VtyUserConfig.vty;Debug information is appended to this file if not Nothing.vtyThe (input byte, output event) pairs extend the internal input table of VTY and the table from terminfo.See Graphics.Vty.Config0 module documentation for documentation of the map directive.vtyTerminal width map files.vty9Whether to permit custom Unicode width table loading by .   indicates that table loading should not be performed. Other values permit table loading.If a table load is attempted and fails, information about the failure will be logged to the debug log if the configuration specifies one. If no custom table is loaded (or if a load fails), the built-in character width table will be used.vtyPreferred color mode. If set, this should override platform color mode detection.vtyMappings from input bytes to event in the order specified. Later entries take precedence over earlier in the case multiple entries have the same byte string.vtyLoad a configuration from  and $VTY_CONFIG_FILE3. If none is found, build a default configuration.vtyParse a Vty configuration file.Lines in config files that fail to parse are ignored. Later entries take precedence over earlier ones.vtyAdd a widthMap directive to the Vty configuration file at the specified path.If the configuration path refers to a configuration that already contains the directive for the specified map and terminal type, the configuration file will not be modified. If the file does not contain the directive, it will be appended to the file.If the configuration path does not exist, a new configuration file will be created and any directories in the path will also be created.This returns a  indicating the change to the configuration. This does not handle exceptions raised by file or directory permissions issues.vtyThe configuration file path of the configuration to modify or create.vtyThe TERM value for the widthMap directive.vty,The width table file path for the directive.  Safe-Inferredo.vtyA 4 has a background pattern. The background is either:ClearBackground, which shows the layer below or is blank if the bottom layer#A character and a display attributeIf the display attribute used previously should be used for a background fill then use Q for the background attribute.vtyA ClearBackground is:7the space character if there are remaining non-skip ops3End of line if there are no remaining non-skip ops.vtyA picture can be configured to hide the cursor or to show the cursor at the specified character position.There is not a 1:1 map from character positions to a row and column on the screen due to characters that take more than 1 column.vtyHide the cursorvtySet the terminal's cursor position without displaying a cursor character. This is important for accessibility with screen readers where a cursor position needs to be reported but we may not want to show a block cursor in that location for cosmetic reasons. The boolean argument indicates whether the positioning should be absolute as with  () or logical as with  ().vtyShow the cursor at the given logical column accounting for character width in the presence of multi-column characters.vty=Show the cursor at the given absolute terminal column and rowvtyA Vty picture.+These can be constructed directly or using .vtyThe picture's cursor.vty,The picture's image layers (top-most first).vtyThe picture's background to be displayed in locations with no Image data.vty5A picture with no cursor, background or image layers.vtyAdd an  as the top-most layer of a .vtyAdd an  as the bottom-most layer of a .vtyCreate a picture from the given image. The picture will not have a displayed cursor and no background pattern (ClearBackground) will be used.vty7Create a picture with the given layers, top-most first.The picture will not have a displayed cursor and no background pattern (ClearBackgroun) will be used.vtyReturn the top-most * layer for a picture. This is unsafe for s without at least one layer.This is provided for compatibility with applications that do not use more than a single layer.  Safe-Inferred)*u3 vtyA vector of span operation vectors for display, one per row of the output region.vtyA vector of span operations executed in succession. This represents the operations required to render a row of the terminal. The operations in one row may affect subsequent rows. For example, setting the foreground color in one row will affect all subsequent rows until the foreground color is changed.vtyThis represents an operation on the terminal: either an attribute change or the output of a text string.vtyA span of UTF-8 text occupies a specific number of screen space columns. A single UTF character does not necessarily represent 1 colunm. See Codec.Binary.UTF8.Width TextSpan [Attr] [output width in columns] [number of characters] [data]vty"Skips the given number of columns.vtyMarks the end of a row. Specifies how many columns are remaining. These columns will not be explicitly overwritten with the span ops. The terminal is require to assure the remaining columns are clear.vty5The number of columns the DisplayOps are defined for.8All spans are verified to define same number of columns.vty2The number of rows the DisplayOps are defined for.vty(The number of columns a SpanOps affects.vty(The width of a single SpanOp in columns.vtyThe number of columns to the character at the given position in the span op.  Safe-Inferred'xvtyProduces the span ops that will render the given picture, possibly cropped or padded, into the specified region.vty8Produces the span ops for each layer then combines them.vtyBuilds a vector of row operations that will output the given picture to the terminal."Crops to the given display region.vtyAdd the operations required to build a given image to the current set of row operations.vtyThis adds an image that might be partially clipped to the output ops. This is a very touchy algorithm. Too touchy. For instance, the Crop implementations is odd. They pass the current tests but something seems terribly wrong about all this.vty8snocs the operation to the operations for the given row. Safe-Inferred%&#vtyThe cursor position is given in X,Y character offsets. Due to multi-column characters this needs to be translated to column, row positions.vty*Provide the bounds of the display context.vtySets the output position to the specified row and column where the number of bytes required for the control codes can be specified seperate from the actual byte sequence.vty?Reset the display attributes to the default display attributes.vtySee vtyThe library's device output abstraction. Platform-specific implementations must implement an  and provide it to .vty:Text identifier for the output device. Used for debugging.vtyRelease the terminal just prior to application exit and reset it to its state prior to application startup.vtyClear the display and initialize the terminal to some initial display state.The expectation of a program is that the display starts in some The initial state. initial state would consist of fixed values:cursor at top leftUTF-8 character encoding'drawing characteristics are the defaultvty'Return the display to the state before  If no previous state then set the display state to the initial state.vty0Sets the current display bounds (width, height).vty#Returns the current display bounds.vty-Output the bytestring to the terminal device.vty3Specifies whether the cursor can be shown / hidden.vtyConverted into a sequence of attribute changes and text spans.The cursor is hidden.Serialized to the display.7The cursor is then shown and positioned or kept hidden.vtyNot all terminals support all display attributes. This filters a display attribute to what the given terminal can display.00 Safe-InferredvtyThe mock display terminal produces a string representation of the requested picture. There is *not* an isomorphism between the string representation and the picture. The string representation is a simplification of the picture that is only useful in debugging VTY without considering terminal specific issues.The mock implementation is useful in manually determining if the sequence of terminal operations matches the expected sequence. The requirement of the produced representation is simplicity in parsing the text representation and determining how the picture was mapped to terminal operations.The string representation is a sequence of identifiers where each identifier is the name of an operation in the algebra. Safe-Inferred   Safe-Inferredvty7A run-length-encoded table of Unicode character widths.vtyThe ranges in the table.vty(A range of code points in a width table.vty The range's starting code point.vtyThe number of code points in the contiguous range, beginning with the starting code point ().vtyThe terminal width, in columns, of all of the characters corresponding to the code points in this range. Safe-InferredQvtyConvert a sequence of character/width pairs into a list of run-length encoded ranges. This function assumes the pairs come sorted by character ordinal value. It does not require that the character range is fully covered by the sequence.The result of this function is a list of ranges in reverse order relative to the input sequence.vtyConstruct a unicode character width table. This works by using the provided function to obtain the appropriate width for each character in a wide range of Unicode code points, which on some platforms may perform local terminal operations or may interact with system libraries. Depending on how the provided width function works, this may need to be run only in a terminal that is not actively controlled by a Vty handle.The character argument specifies the upper bound code point to test when building the table. This allows callers to decide how much of the Unicode code point space to scan when building the table. This does not handle exceptions. Safe-InferredMvtyException type raised by .vtyThe width table could not be initialized. Args: failure status, requested table size.vtyA code point range could not be configured. Args: failure status, offending range.vty7The table could not be activated. Args: failure status.vty;The lock used to make functions in this module thread-safe.vtyReturns True if and only if a custom table has been allocated and marked as ready for use.This function is thread-safe.vtyInstall a custom unicode character width table. Such tables are obtained with  and .ALERT! This function is probably not what you want to use because it is automatically called by . You will only ever need to call this function if you want to use functions in  ( without controlling the terminal with .!This affects the behavior of the ! function and functions that call it. It does so by changing global state available to the C implementation of !. To ensure that your program gets consistent results from evaluating calls to !, the installation of a custom table should be performed before you call ! in your program.2This is best done at Vty startup, and if you use , that function calls this automatically based on the Vty configuration's declared width tables. It is exposed as part of the public API so that applications can call this as needed if they don't want to control the terminal with mkVty but do want to make calls to !.It's also important to note that once a custom table has been installed, it is permanent for the life of the process. No new table can be installed, and the new custom table cannot be removed.If this function fails for any reason -- if the table cannot be installed or is invalid, or if a custom table already exists -- this will raise a  exception.This function is thread-safe. Safe-Inferred"vty:Load a binary unicode width table from the specified file.This either returns a successfully parsed table or a table parsing error message. This does not handle I/O exceptions.vty#Parse a binary unicode width table.vty4Write the unicode width table to the specified path.$This does not handle I/O exceptions.vty5Width table magic bytes for use in the binary format. Safe-Inferred%vtyRun the character width table builder tool using the specified function to obtain character widths. This is intended to be a main implementation, e.g. main = defaultMain getCharWidth.The tool queries the local terminal in some way (as determined by the provided function) over a wide range of Unicode code points and generates a table of character widths that can subsequently be loaded by Vty-based applications.The tool respects the following command-line flags, all of which are optional and have sensible defaults:-h/--help : help output-b/--bound: Unicode code point upper bound to use when building the table.-p/--path: the output path where the generated table should be written.-u/--update-config: If given, create or update the user's Vty configuration file to use the new table.-c/ --config-path+: the path to the user's Vty configuration. Safe-Inferred vtyA  value represents a handle to the Vty library that the application must create in order to use Vty.7The use of this library typically follows this process: Initialize Vty with the mkVty7 implementation for your platform's Vty package (e.g. vty-unix), or, more generically, with 3. This takes control of (and sets up) the terminal.Use  to display a picture.Use  to get the next input event.%Depending on the event, go to 2 or 5.1Shutdown Vty and restore the terminal state with . At this point the  handle cannot be used again..Operations on Vty handles are not thread-safe.vtyOutput the given  to the terminal.vtyReturn the next ' or block until one becomes available.vtyNon-blocking version of .vtyThe input interface. See .vtyThe output interface. See .vtyRefresh the display. If other programs output to the terminal and mess up the display then the application might want to force a refresh using this function.vtyClean up after vty. A call to this function is necessary to cleanly restore the terminal state before application exit. The above methods will throw an exception if executed after this is executed. Idempotent.vtyAttempt to load and install a custom character width table into this process.This looks up the specified terminal name in the specified width table map and, if a map file path is found, the map is loaded and installed. This is exposed for Vty platform package implementors; application developers should never need to call this.vtyBuild a " handle from an input/output pair.This is exposed for Vty platform package implementors; application developers should never need to call this, and should instead call mkVty5 or equivalent from their platform package of choice.vty%Set the terminal window title string.vtyOptional path to a log file where log messages should be written when attempting to load a width table.vtyOptional width table entry name (usually the terminal name, e.g. value of TERM on Unix systems). If omitted, this function does not attempt to load a table.vtyMapping from width table entry names to width table file paths. This is usually obtained from  of .   !"#$%&'014235:9867;@?><=ABCDEFGHIJKLMNOPQ  Safe-Inferredvty)Set the background color to the provided .vty)Set the foreground color to the provided .vtyAttempt to change the 0 of the following text..If the terminal does not support the style change then no error is produced. The style can still be removed.vty Attempt to remove the specified 0) from the display of the following text.This will fail if 5 for the given style has not been previously called.vtyReset the display attributes.vtyApply the provided display attribute changes to the given terminal output device.!This does not flush the terminal.vtyApply the provided display attributes changes to the terminal output device.$This will flush the terminal output.  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVVWXYZ[[\]^_`abcdefghijklmnopqrstuvwxyz{|}~                                                                                                          vty-6.1-3Abw7VxkSUPE4N7JCXIsbjGraphics.Text.Width Graphics.Vty.Attributes.Color240Graphics.Vty.Attributes.ColorGraphics.Vty.AttributesGraphics.Vty.DisplayAttributesGraphics.Vty.ErrorGraphics.Vty.ImageGraphics.Vty.Input.EventsGraphics.Vty.InputGraphics.Vty.ConfigGraphics.Vty.PictureGraphics.Vty.SpanGraphics.Vty.PictureToSpansGraphics.Vty.OutputGraphics.Vty.Output.MockGraphics.Vty.Debug$Graphics.Vty.UnicodeWidthTable.Types$Graphics.Vty.UnicodeWidthTable.Query&Graphics.Vty.UnicodeWidthTable.Install!Graphics.Vty.UnicodeWidthTable.IO#Graphics.Vty.UnicodeWidthTable.Main Graphics.VtyGraphics.Vty.InlineGraphics.Vty.Image.Internal mkVtyFromPairmkVtyGraphics.Vty.Output.XTermColor inlineHackbuildUnicodeWidthTablereadUnicodeWidthTable Graphics.TextWidthwcwidthwcswidthwctwidth wctlwidth safeWcwidth safeWcswidth safeWctwidth safeWctlwidthrgbColorToColor240color240CodeToRGB ColorModeNoColor ColorMode8 ColorMode16 ColorMode240 FullColorColorISOColorColor240RGBColorblackredgreenyellowbluemagentacyanwhite brightBlack brightRed brightGreen brightYellow brightBlue brightMagenta brightCyan brightWhite linearColor srgbColorcolor240rgbColor $fEqColorMode$fShowColorMode$fReadColorMode $fEqColor $fShowColor $fReadColor$fGenericColor $fNFDataColorStyle MaybeDefaultDefault KeepCurrentSetTo FixedAttr fixedStylefixedForeColorfixedBackColorfixedURLAttr attrStyle attrForeColor attrBackColorattrURLstandout underline reverseVideoblinkdimbolditalic strikethroughdefaultStyleMask styleMaskhasStyle withForeColor withBackColor withStylewithURLdefAttr currentAttr$fNFDataMaybeDefault$fEqAttr $fShowAttr $fReadAttr $fGenericAttr $fNFDataAttr $fEqFixedAttr$fShowFixedAttr$fEqMaybeDefault$fReadMaybeDefault$fShowMaybeDefaultURLDiffLinkTo NoLinkChangeEndLinkStyleStateChange ApplyStandoutRemoveStandout ApplyItalic RemoveItalicApplyStrikethroughRemoveStrikethroughApplyUnderlineRemoveUnderlineApplyReverseVideoRemoveReverseVideo ApplyBlink RemoveBlinkApplyDim RemoveDim ApplyBold RemoveBoldDisplayColorDiffColorToDefault NoColorChangeSetColorDisplayAttrDiff styleDiffs foreColorDiff backColorDiffurlDifffixDisplayAttrdisplayAttrDiffs$fMonoidDisplayAttrDiff$fSemigroupDisplayAttrDiff$fShowDisplayAttrDiff $fShowURLDiff $fEqURLDiff$fShowStyleStateChange$fEqStyleStateChange$fShowDisplayColorDiff$fEqDisplayColorDiff VtyException VtyFailureImage imageWidth imageHeight horizJoinvertJoin DisplayRegion regionWidth regionHeightbackgroundFill<|><->horizCatvertCattexttext'chariso10646Stringstring utf8Stringutf8Bytestringutf8Bytestring'charFill emptyImagepad translate translateX translateYcrop cropBottom cropRightcropLeftcropTopresize resizeWidth resizeHeight InternalEventResumeAfterInterrupt InputEvent ClassifyMapEventEvKey EvMouseDown EvMouseUpEvResizeEvPaste EvLostFocus EvGainedFocusButtonBLeftBMiddleBRight BScrollUp BScrollDownModifierMShiftMCtrlMMetaMAltKeyKEscKCharKBSKEnterKLeftKRightKUpKDownKUpLeftKUpRight KDownLeft KDownRightKCenterKFunKBackTabKPrtScrKPauseKInsKHomeKPageUpKDelKEnd KPageDownKBeginKMenu $fNFDataKey$fNFDataModifier$fNFDataButton $fNFDataEvent $fEqEvent $fShowEvent $fReadEvent $fOrdEvent$fGenericEvent $fEqButton $fShowButton $fReadButton $fOrdButton$fGenericButton $fEqModifier$fShowModifier$fReadModifier $fOrdModifier$fGenericModifier$fEqKey $fShowKey $fReadKey$fOrdKey $fGenericKeyInput eventChannel shutdownInputrestoreInputState inputLogMsgConfigUpdateResultConfigurationCreatedConfigurationModifiedConfigurationConflictConfigurationRedundant VtyUserConfigconfigDebugLogconfigInputMapconfigTermWidthMaps#configAllowCustomUnicodeWidthTablesconfigPreferredColorModeInputMap defaultConfigvtyDataDirectory vtyConfigPathvtyConfigFileEnvName userConfigwidthTableFilenamecurrentTerminalNameterminalWidthTablePathoverrideEnvConfigparseConfigFilerunParseConfigaddConfigWidthMap$fMonoidVtyUserConfig$fSemigroupVtyUserConfig $fParse[]$fParseModifier $fParseKey $fParseInt $fParseChar $fGParse:*: $fGParseK1 $fGParseU1 $fGParseM1$fGParseAltsV1$fGParseAlts:+:$fGParseAltsM1 $fGParseM10$fEqConfigUpdateResult$fShowConfigUpdateResult$fShowVtyUserConfig$fEqVtyUserConfig BackgroundClearBackgroundbackgroundCharbackgroundAttrCursorNoCursor PositionOnlyAbsoluteCursorPicture picCursor picLayers picBackground emptyPictureaddToTop addToBottom picForImage picForLayerspicImage$fNFDataCursor$fNFDataBackground$fNFDataPicture $fEqPicture $fShowPicture$fEqBackground$fShowBackground $fEqCursor $fShowCursor DisplayOpsSpanOpsSpanOpTextSpanSkipRowEnd textSpanAttrtextSpanOutputWidthtextSpanCharWidth textSpanTextdropOps splitOpsAtdisplayOpsColumnsdisplayOpsRowsaffectedRegionspanOpsAffectedColumnsspanOpHasWidthcolumnsToCharOffset $fShowSpanOp $fEqSpanOpdisplayOpsForPicDisplayContext contextDevice contextRegionwriteMoveCursorwriteShowCursorwriteHideCursor writeSetAttrwriteDefaultAttr writeRowEnd AssumedState prevFattr prevOutputOpsOutput terminalIDreleaseTerminalreserveDisplayreleaseDisplaysetDisplayBounds displayBoundsoutputByteBuffersupportsCursorVisibility supportsModesetMode getModeStatusassumedStateRefmkDisplayContextringTerminalBell supportsBellsupportsItalicssupportsStrikethroughoutputColorModesetOutputWindowTitleModeMouseBracketedPasteFocus Hyperlink setCursorPos hideCursor showCursordisplayContextinitialAssumedState outputPicturelimitAttrForDisplay$fEqMode $fReadMode $fShowModeMockData mockTerminal MockWindowSpanConstructLogrowOpsAffectedColumnsallSpansHaveWidthspanOpsAffectedRows isSetAttrregionForWindow$fShowMockWindow$fEqMockWindowUnicodeWidthTableunicodeWidthTableRangesWidthTableRange rangeStart rangeSize rangeColumns$fShowUnicodeWidthTable$fEqWidthTableRange$fShowWidthTableRangedefaultUnicodeTableUpperBoundTableInstallExceptionTableInitFailureTableRangeFailureTableActivationFailureisCustomTableReadyinstallUnicodeWidthTable $fExceptionTableInstallException$fEqTableInstallException$fShowTableInstallExceptionparseUnicodeWidthTablewriteUnicodeWidthTable defaultMain $fShowConfig$fEqArg $fShowArgVtyupdate nextEventnextEventNonblocking inputIface outputIfacerefreshshutdown isShutdowninstallCustomWidthTablesetWindowTitle InlineState inlineAttrinlineUrlsEnabledInlineM backColor foreColor applyStyle removeStyle defaultAll putAttrChangeputAttrChange_simplifyStyleDiffssimplifyColorDiffssimplifyUrlDiffs HorizText HorizJoinVertJoinBGFillCrop EmptyImage displayText outputWidth charWidth outputHeightppImageStructure $fMonoidImagebaseGHC.BaseMonoid$fSemigroupImage SemigroupattrleftSkippartLeft partRightpartTop partBottom croppedImagetopSkipclipTextString GHC.MaybeJustghc-prim GHC.TypesFalseTruecombinedOpsForLayers buildSpansstartImageBuildaddMaybeClippedsnocOpCursorOutputMap writeUtf8TextmkRanges installLockwidthTableMagic