cMCI      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~                                  ! " # $ % & ' ()*+,-./0123456789:;<=>?@ABCDEFGHNoneMarkup with metadata type a assigned to each character.aBuild a piece of markup; assign the specified metadata to every character in the specified text.1Build markup from text with the default metadata.=Extract the text from markup, discarding the markup metadata.ySet the metadata for a range of character positions in a piece of markup. This is useful for, e.g., syntax highlighting.Convert markup to a list of lines. Each line is represented by a list of pairs in which each pair contains the longest subsequence of characters having the same metadata.6Convert a list of text and metadata pairs into markup. I INone YA border style for use in any widget that needs to render borders in a consistent style. Top-left corner character Top-right corner characterBottom-right corner characterBottom-left corner characterFull intersection (cross)<Left side of a horizontal border intersecting a vertical one=Right side of a horizontal border intersecting a vertical one6Top of a vertical border intersecting a horizontal one9Bottom of a vertical border intersecting a horizontal oneHorizontal border characterVertical border character=Make a border style using the specified character everywhere.6An ASCII border style which will work in any terminal.DA unicode border style with real corner and intersection characters.*A unicode border style in a bold typeface.,A unicode border style with rounded corners.    None _A template haskell function to build lenses for a record type. This function differs from the i function in that it does not require the record fields to be prefixed with underscores and it adds an L= suffix to lens names to make it clear that they are lenses.   None !An attribute map which maps " values to J values."9An attribute name. Attribute names are hierarchical; use K (<> ) to assemble them. Hierachy in an attribute name is used to represent increasing levels of specificity in referring to the attribute you want to use for a visual element, with names to the left being general and names to the right being more specific. For example: J"window" <> "border" "window" <> "title" "header" <> "clock" <> "seconds" #'Create an attribute name from a string.$Create an attribute map.%HCreate an attribute map in which all lookups map to the same attribute.&Given an attribute and a map, merge the attribute with the map's default attribute. If the map is forcing all lookups to a specific attribute, the forced attribute is returned without merging it with the one specified here. Otherwise the attribute given here is merged with the attribute map's default attribute in that any aspect of the specified attribute that is not provided falls back to the map default. For example, 1mergeWithDefault (fg blue) $ attrMap (bg red) [] returns blue `on` red 'Look up the specified attribute name in the map. Map lookups proceed as follows. If the attribute map is forcing all lookups to a specific attribute, that attribute is returned. If the attribute name is empty, the map's default attribute is returned. If the attribute name is non-empty, very subsequence of names from the specified name are used to perform a lookup, and the results are combined as in &H, with more specific results taking precedence over less specific ones. For example: attrMapLookup ("foo" <> "bar") (attrMap a []) == a attrMapLookup ("foo" <> "bar") (attrMap (bg blue) [("foo" <> "bar", fg red)]) == red `on` blue attrMapLookup ("foo" <> "bar") (attrMap (bg blue) [("foo" <> "bar", red on cyan)]) == red `on` cyan attrMapLookup ("foo" <> "bar") (attrMap (bg blue) [("foo" <> "bar", fg red), ("foo", bg cyan)]) == red `on` cyan attrMapLookup ("foo" <> "bar") (attrMap (bg blue) [("foo", fg red)]) == red `on` blue (4Set the default attribute value in an attribute map.)7Insert a set of attribute mappings to an attribute map.*.Update an attribute map such that a lookup of ontoName+ returns the attribute value specified by fromName. This is useful for composite widgets with specific attribute names mapping those names to the sub-widget's expected name when calling that sub-widget's rendering function. See the ProgressBarDemo for an example usage, and  overrideAttr for an alternate syntax.+XMap several attributes to return the value associated with an alternate name. Applies * across a list of mappings.!LM"N#$The map's default attribute to be returned when a name lookup fails, and the attribute that will be merged with successful lookups.The map's initial contents.%&'(OP)*+,-./ !"#$%&'()*+ !"$%#'()&*+!LM"N#$%&'(OP)*+,-./None2<= 4A terminal screen location.6 (Column, Row)7Scrolling direction.8Up/left9 Down/right:@The type of actions to take upon completion of an event handler.;iAn extent of a named area indicating the location of its upper-left corner and its size (width, height).=YThe type of viewports that indicates the direction(s) in which a viewport is scrollable.>6Viewports of this type are scrollable only vertically.?8Viewports of this type are scrollable only horizontally.@BViewports of this type are scrollable vertically and horizontally.ANDescribes the state of a viewport as it appears as its most recent rendering.C/The column offset of left side of the viewport.D*The row offset of the top of the viewport.EThe size of the viewport.JThe type of result returned by a widget's rendering function. The result provides the image, cursor positions, and visibility requests that resulted from the rendering process.L%The final rendered image for a widgetMIThe list of reported cursor positions for the application to choose fromNfThe list of visibility requests made by widgets rendered while rendering this one (used by viewports)P@A cursor location. These are returned by the rendering process.R The locationS3The name of the widget associated with the locationT7The class of types that behave like terminal locations.UGet the column out of the valueWGet the row out of the valueQThe origin (upper-left corner).ZThe rendering context. This tells widgets how to render: how much space they have in which to render, which attribute they should use to render, which bordering style should be used, and the attribute map available for rendering.`The type of events.aThe event was a Vty event.b#The event was an application event.c9A mouse-down event on the specified region was received.d9A mouse-down event on the specified region was received.i456789:RSTUVWXY;<Z[\]^_`=>?@ABCDEFGHIabcdefghijkJKLMNOPQRSTUVWXYQlmnoZp[\]^_qrstuvw`abcdefghxyz{|}ijklmnod456798:RSTUVWXY;<Z[\]^_`=>?@ABCDEFGHIabcdefghijkJKLMNOPQRSTXUVWYQZp[\]^_qrstuvw`abcdefghyz{|}ijklmno(456789:RSTUVWXY;<Z[\]^_`=>?@ABCDEFGHIa bcdefghijkJKLMNOPQRSTUVWXYQlmnoZp[\]^_qrstuvw`abcdefghxyz{|}ijklmnoNoneIOTpThe type of the rendering monad. This monad is used by the library's rendering routines to manage rendering state and communicate rendering parameters to widgets' rendering functions.qThe type of widgets.s&This widget's horizontal growth policyt$This widget's vertical growth policyu This widget's rendering functionvWidget growth policies. These policies communicate to layout algorithms how a widget uses space when being rendered. These policies influence rendering order and space allocation in the box layout algorithm.w_Fixed widgets take up the same amount of space no matter how much they are given (non-greedy).x4Greedy widgets take up all the space they are given.yuThe monad in which event handlers run. Although it may be tempting to dig into the reader value yourself, just use .|The type of padding.}/Pad by the specified number of rows or columns.~2Pad up to the number of available rows or columns.A convenience function for handling events intended for values that are targets of lenses in your application state. This function obtains the target value of the specified lens, invokes  handleEventV on it, and stores the resulting transformed value back in the state using the lens."Get the current rendering context.2The rendering context's current drawing attribute.pGiven an attribute name, obtain the attribute for the attribute name by consulting the context's attribute map.pqrstuvwxyz{|}~The state value.>The lens to use to extract and store the target of the event.The event handler.The event to handle.U 456798:;<=>?@ABCDEFGHIJKLMNOPQRSTXUVWYZ[\]^_`abcdefghijklmnopqrustvwxyz{|~}Uqrstu456YTUVWXPQRSklABCDE=>?@nomyz{:`abcdpZ[\]^_JKLMNO;<gehfFGHIij vwx|}~789pqrstuvwxyz{|}~None~A type class for types that provide access to an attribute in the rendering monad. You probably won't need to instance this.7Where to get the attribute for this attribute metadata.Build a piece of markup from text with an assigned attribute name. When the markup is rendered, the attribute name will be looked up in the rendering context's !; to determine the attribute to use for this piece of text.Build a widget from markup.NoneGiven a minimum value and a maximum value, clamp a value to that range (values less than the minimum map to the minimum and values greater than the maximum map to the maximum). clamp 1 10 1110 clamp 1 10 22 clamp 5 10 15^Build an attribute from a foreground color and a background color. Intended to be used infix.aCreate an attribute from the specified foreground color (the background color is the "default").aCreate an attribute from the specified background color (the background color is the "default").Add a 4 offset to the specified P.The minimum valueThe maximum valueThe value to clampThe foreground colorThe background colorNonehAfter rendering the specified widget, crop its result image to the dimensions in the rendering context.~~~None$HA viewport scrolling handle for managing the scroll state of viewports.DThe name of the viewport to be controlled by this scrolling handle.IScroll the viewport horizontally by one page in the specified direction.{Scroll the viewport horizontally by the specified number of rows or columns depending on the orientation of the viewport.6Scroll horizontally to the beginning of the viewport./Scroll horizontally to the end of the viewport.GScroll the viewport vertically by one page in the specified direction.yScroll the viewport vertically by the specified number of rows or columns depending on the orientation of the viewport.3Scroll vertically to the beginning of the viewport.-Scroll vertically to the end of the viewport.'Set the top row offset of the viewport.+Set the left column offset of the viewport.The library application abstraction. Your application's operations are represented here and passed to one of the various main functions in this module. An application is in terms of an application state type s, an application event type e, and a resource name type n. In the simplest case e^ is unused (left polymorphic or set to '()'), but you may define your own event type and use  to provide custom events. The state type is the type of application state to be provided by you and iteratively modified by event handlers. The resource name type is the type of names you can assign to rendering resources such as viewports and cursor locations.nThis function turns your application state into a list of widget layers. The layers are listed topmost first.This function chooses which of the zero or more cursor locations reported by the rendering process should be selected as the one to use to place the cursor. If this returns , no cursor is placed. The rationale here is that many widgets may request a cursor placement but your application state is what you probably want to use to decide which one wins.This function takes the current application state and an event and returns an action to be taken and a corresponding transformed application state. Possible options are , , and .This function gets called once just prior to the first drawing of your application. Here is where you can make initial scrolling requests, for example.7The attribute map that should be used during rendering.xThe default main entry point which takes an application and an initial state and returns the final state returned by a  operation.A simple main entry point which takes a widget and renders it. This event loop terminates when the user presses any key, but terminal resize events cause redraws.An event-handling function which continues execution of the event loop only when resize events occur; all other types of events trigger a halt. This is a convenience function useful as an * value for simple applications using the = type that do not need to get more sophisticated user input.\The custom event loop entry point to use when the simpler ones don't permit enough control.oGiven a viewport name, get the viewport's size and offset information from the most recent rendering. Returns y if no such state could be found, either because the name was invalid or because no rendering has occurred (e.g. in an  handler).RDid the specified mouse coordinates (column, row) intersect the specified extent?SGiven a resource name, get the most recent rendering extent for the name (if any).WGiven a mouse click location, return the extents intersected by the click. The returned extents are sorted such that the first extent in the list is the most specific extent and the last extent is the most generic (top-level). So if two extents A and B both intersected the mouse click but A contains B, then they would be returned [B, A].$Get the Vty handle currently in use.GInvalidate the rendering cache entry with the specified resource name.&Invalidate the entire rendering cache.wIgnore all requested cursor positions returned by the rendering process. This is a convenience function useful as an E value when a simple application has no need to position the cursor.wAlways show the first cursor, if any, returned by the rendering process. This is a convenience function useful as an X value when a simple program has zero or more widgets that advertise a cursor position._Show the cursor with the specified resource name, if such a cursor location has been reported.CBuild a viewport scroller for the viewport with the specified name.FContinue running the event loop with the specified application state.YHalt the event loop and return the specified application state as the final state value.Suspend the event loop, save the terminal state, and run the specified action. When it returns an application state value, restore the terminal state, redraw the application from the new state, and resume the event loop.1The application.The initial application state.The widget to draw.An IO action to build a Vty handle. This is used to build a Vty handle whenever the event loop begins or is resumed after suspension.An event channel for sending custom events to the event loop (you write to this channel, the event loop reads from it). Provide - if you don't plan on sending custom events.The application.The initial application state.$. None<=LOT*The process of rendering widgets in a box layout is exactly the same except for the dimension under consideration (width vs. height), in which case all of the same operations that consider one dimension in the layout algorithm need to be switched to consider the other. Because of this we fill a BoxRenderer with all of the functions needed to consider the "primary" dimension (e.g. vertical if the box layout is vertical) as well as the "secondary" dimension (e.g. horizontal if the box layout is vertical). Doing this permits us to have one implementation for box layout and parameterizing on the orientation of all of the operations.6The class of types that store interface element names.$Get the name of the specified value.^When rendering the specified widget, use the specified border style for any border rendering.The empty widget.+Add an offset to all cursor locations, visbility requests, and extents in the specified rendering result. This function is critical for maintaining correctness in the rendering results as they are processed successively by box layouts and other wrapping combinators, since calls to this function result in converting from widget-local coordinates to (ultimately) terminal-global ones so they can be used by other combinators. You should call this any time you render something and then translate it or otherwise offset it from its original origin.`Render the specified widget and record its rendering extent using the specified name (see also  lookupExtent).3Request mouse click events on the specified widget.Build a widget from a W. Breaks newlines up and space-pads short lines out to the length of the longest line.Build a widget from a one-line  value. Behaves the same as .Pad the specified widget on the left. If max padding is used, this grows greedily horizontally; otherwise it defers to the padded widget.Pad the specified widget on the right. If max padding is used, this grows greedily horizontally; otherwise it defers to the padded widget.Pad the specified widget on the top. If max padding is used, this grows greedily vertically; otherwise it defers to the padded widget.Pad the specified widget on the bottom. If max padding is used, this grows greedily vertically; otherwise it defers to the padded widget.SPad a widget on the left and right. Defers to the padded widget for growth policy.SPad a widget on the top and bottom. Defers to the padded widget for growth policy.JPad a widget on all sides. Defers to the padded widget for growth policy._Fill all available space with the specified character. Grows both horizontally and vertically.Vertical box layout: put the specified widgets one above the other in the specified order (uppermost first). Defers growth policies to the growth policies of the contained widgets (if any are greedy, so is the box).Horizontal box layout: put the specified widgets next to each other in the specified order (leftmost first). Defers growth policies to the growth policies of the contained widgets (if any are greedy, so is the box).>Render a series of widgets in a box layout in the order given. The growth policy of a box layout is the most unrestricted of the growth policies of the widgets it contains, so to determine the hSize and vSize of the box we just take the maximum (using the Ord instance for Size) of all of the widgets to be rendered in the box.Then the box layout algorithm proceeds as follows. We'll use the vertical case to concretely describe the algorithm, but the horizontal case can be envisioned just by exchanging all "vertical""horizontal" and "rows"%"columns", etc., in the description.,The growth policies of the child widgets determine the order in which they are rendered, i.e., the order in which space in the box is allocated to widgets as the algorithm proceeds. This is because order matters: if we render greedy widgets first, there will be no space left for non-greedy ones.#So we render all widgets with size w in the vertical dimension first. Each is rendered with as much room as the overall box has, but we assume that they will not be greedy and use it all. If they do, maybe it's because the terminal is small and there just isn't enough room to render everything.JThen the remaining height is distributed evenly amongst all remaining (greedy) widgets and they are rendered in sub-boxes that are as high as this even slice of rows and as wide as the box is permitted to be. We only do this step at all if rendering the non-greedy widgets left us any space, i.e., if there were any rows left. After rendering the non-greedy and then greedy widgets, their images are sorted so that they are stored in the order the original widgets were given. All cursor locations and visibility requests in each sub-widget are translated according to the position of the sub-widget in the box.All images are padded to be as wide as the widest sub-widget to prevent attribute over-runs. Without this step the attribute used by a sub-widget may continue on in an undesirable fashion until it hits something with a different attribute. To prevent this and to behave in the least surprising way, we pad the image on the right with whitespace using the context's current attribute.Finally, the padded images are concatenated together vertically and returned along with the translated cursor positions and visibility requests.Limit the space available to the specified widget to the specified number of columns. This is important for constraining the horizontal growth of otherwise-greedy widgets. This is non-greedy horizontally and defers to the limited widget vertically.Limit the space available to the specified widget to the specified number of rows. This is important for constraining the vertical growth of otherwise-greedy widgets. This is non-greedy vertically and defers to the limited widget horizontally.When drawing the specified widget, set the current attribute used for drawing to the one with the specified name. Note that the widget may use further calls to < to override this; if you really want to prevent that, use . Attributes used this way still get merged hierarchically and still fall back to the attribute map's default attribute. If you want to change the default attribute, use .Update the attribute map while rendering the specified widget: set its new default attribute to the one that we get by looking up the specified attribute name in the map.aWhen rendering the specified widget, update the attribute map with the specified transformation.When rendering the specified widget, force all attribute lookups in the attribute map to use the value currently assigned to the specified attribute name.Override the lookup of  targetName0 to return the attribute value associated with fromName0 when rendering the specified widget. See also *.-Build a widget directly from a raw Vty image.qTranslate the specified widget by the specified offset amount. Defers to the translated width for growth policy.|Crop the specified widget on the left by the specified number of columns. Defers to the translated width for growth policy.}Crop the specified widget on the right by the specified number of columns. Defers to the translated width for growth policy.xCrop the specified widget on the top by the specified number of rows. Defers to the translated width for growth policy.{Crop the specified widget on the bottom by the specified number of rows. Defers to the translated width for growth policy.wWhen rendering the specified widget, also register a cursor positioning request using the specified name and location.Render the specified widget. If the widget has an entry in the rendering cache using the specified name as the cache key, use the rendered version from the cache instead. If not, render the widget and update the cache. See also invalidateCacheEntry.Render the specified widget in a named viewport with the specified type. This permits widgets to be scrolled without being scrolling-aware. To make the most use of viewports, the specified widget should use the  combinator to make a "visibility request". This viewport combinator will then translate the resulting rendering to make the requested region visible. In addition, the L monad provides primitives to scroll viewports created by this function if  is not what you want.If a viewport receives more than one visibility request, then the visibility requests are merged with the inner visibility request taking preference. If a viewport receives more than one scrolling request from ;, all are honored in the order in which they are received.LGiven a name, obtain the viewport for that name by consulting the viewport map in the rendering monad. NOTE! Some care must be taken when calling this function, since it only returns useful values after the viewport in question has been rendered. If you call this function during rendering before a viewport has been rendered, you may get nothing or you may get a stale version of the viewport. This is because viewports are updated during rendering and the one you are interested in may not have been rendered yet. So if you want to use this, be sure you know what you are doing.;Request that the specified widget be made visible when it is rendered inside a viewport. This permits widgets (whose sizes and positions cannot be known due to being embedded in arbitrary layouts) to make a request for a parent viewport to locate them and scroll enough to put them in view. This, together with , is what makes the text editor and list widgets possible without making them deal with the details of scrolling state management.0This does nothing if not rendered in a viewport. Similar to -, request that a region (with the specified 4 as its origin and J as its size) be made visible when it is rendered inside a viewport. The 4D is relative to the specified widget's upper-left corner of (0, 0).0This does nothing if not rendered in a viewport.Horizontal box layout: put the specified widgets next to each other in the specified order. Defers growth policies to the growth policies of both widgets. This operator is a binary version of .Vertical box layout: put the specified widgets one above the other in the specified order. Defers growth policies to the growth policies of both widgets. This operator is a binary version of .AKThe name of the viewport (must be unique and stable for reliable behavior)CThe type of viewport (indicates the permitted scrolling direction)4The widget to be rendered in the scrollable viewportLeftRightTopBottom))5  None2\A focus ring containing a sequence of resource names to focus and a currently-focused name.7Construct a focus ring from the list of resource names.-Advance focus to the next widget in the ring.1Advance focus to the previous widget in the ring.~This function is a convenience function to look up a widget state value's resource name in a focus ring and set its focus setting according to the focus ring's state. This function determines whether a given widget state value is the focus of the ring and passes the resulting boolean to a rendering function, along with the state value (a), to produce whatever comes next (b).^Focus-aware widgets have rendering functions that should be usable with this combinator; see  and  .UGet the currently-focused resource name from the ring. If the ring is emtpy, return .5Cursor selection convenience function for use as an  value. 3The focus ring to use as the source of focus state.2A function that takes a value and its focus state.6The wiget state value that we need to check for focus.The rest of the computation.GThe function used to get the focus ring out of your application state.Your application state.'The list of available cursor positions.VThe cursor position, if any, that matches the resource name currently focused by the . None SCenter the specified widget horizontally. Consumes all available horizontal space.-Center the specified widget horizontally using a Vty image translation. Consumes all available horizontal space. Unlike hCenter, this does not fill the surrounding space so it is suitable for use as a layer. Layers underneath this widget will be visible in regions surrounding the centered widget.Center the specified widget horizontally. Consumes all available horizontal space. Uses the specified character to fill in the space to either side of the centered widget (defaults to space).9Center a widget vertically. Consumes all vertical space.)Center the specified widget vertically using a Vty image translation. Consumes all available vertical space. Unlike vCenter, this does not fill the surrounding space so it is suitable for use as a layer. Layers underneath this widget will be visible in regions surrounding the centered widget.Center a widget vertically. Consumes all vertical space. Uses the specified character to fill in the space above and below the centered widget (defaults to space).hCenter a widget both vertically and horizontally. Consumes all available vertical and horizontal space.Center a widget both vertically and horizontally. Consumes all available vertical and horizontal space. Uses the specified character to fill in the space around the centered widget (defaults to space).OCenter a widget both vertically and horizontally using a Vty image translation. Consumes all available vertical and horizontal space. Unlike center, this does not fill in the surrounding space with a character so it is usable as a layer. Any widget underneath this one will be visible in the region surrounding the centered widget.JCenter the widget horizontally and vertically about the specified origin. None$The top-level border attribute name.#The vertical border attribute name.%The horizontal border attribute name.0The attribute used for horizontal border labels.3The attribute used for border box top-left corners.4The attribute used for border box top-right corners.6The attribute used for border box bottom-left corners.7The attribute used for border box bottom-right corners.GDraw the specified border element using the active border style using .)Put a border around the specified widget.|Put a border around the specified widget with the specified label widget placed in the middle of the top horizontal border.1A horizontal border. Fills all horizontal space.aA horizontal border with a label placed in the center of the border. Fills all horizontal space.-A vertical border. Fills all vertical space.The label widget!The widget to put a border aroundThe label widget None bDialogs present a window with a title (optional), a body, and buttons (optional). They provide a  HandleEvent instance that knows about Tab and Shift-Tab as well as ArrowLeft and ArrowRight for changing which button is active. Dialog buttons are labeled with strings and map to values of type a, which you choose./Dialogs handle the following events by default:Tab: selecte the next button%Shift-tab: select the previous button The dialog title #The dialog button labels and values 3The currently selected dialog button index (if any) The maximum width of the dialogCreate a dialog.#The default attribute of the dialog,The default attribute for all dialog buttons6The attribute for the selected dialog button (extends )Render a dialog with the specified body widget. This renders the dialog as a layer, which makes this suitable as a top-level layer in your rendering function to be rendered on top of the rest of your interface.Obtain the value associated with the dialog's currently-selected button, if any. This function is probably what you want when someone presses Enter in a dialog.     The dialog title_The currently-selected button index (starting at zero) and the button labels and values to useThe maximum width of the dialog                     None9;<= ?Editor state. Editors support the following events by default:Ctrl-a: go to beginning of lineCtrl-e: go to end of line0Ctrl-d, Del: delete character at cursor position4Backspace: delete character prior to cursor position-Ctrl-k: delete all from cursor to end of line3Ctrl-u: delete all from cursor to beginning of lineArrow keys: move cursor4Enter: break the current line at the cursor positionThe contents of the editor1The function the editor uses to draw its contentsThe name of the editorConstruct an editor over Text values Construct an editor over  values!Apply an editing operation to the editor's contents. Bear in mind that you should only apply zipper operations that operate on the current line; the editor will only ever render the first line of text."AThe attribute assigned to the editor when it does not have focus.#AThe attribute assigned to the editor when it has focus. Extends ".$Get the contents of the editor.%(Turn an editor state value into a widget"The editor's name (must be unique)The content rendering function0The limit on the number of lines in the editor ( means no limit)The initial content "The editor's name (must be unique)The content rendering function0The limit on the number of lines in the editor ( means no limit)The initial content!The  editing transformation to apply"#$%\Whether the editor has focus. It will report a cursor position if and only if it has focus. The editor.&' !"#$% $!%"# !"#$%&'None 2349;<=L('List state. Lists have an element type eU that is the data stored by the list. Lists handle the following events by default:0Up/down arrow keys: move cursor of selected itemtPage up / page down keys: move cursor of selected item by one page at a time (based on the number of items shown)JHome/end keys: move cursor of selected item to beginning or end of list61The top-level attribute used for the entire list.7iThe attribute used only for the currently-selected list item when the list does not have focus. Extends 6.8_The attribute used only for the currently-selected list item when the list has focus. Extends 7.9-Construct a list in terms of an element type e.:FTurn a list state value into a widget given an item drawing function.;5Insert an item into a list at the specified position.<8Remove an element from a list at the specified position.=Replace the contents of a list with a new set of elements and update the new selected index. If the specified selected index (via 2) is not in the list bounds, zero is used instead.>]Move the list selected index up by one. (Moves the cursor up, subtracts one from the index.)?ZMove the list selected index down by one. (Moves the cursor down, adds one to the index.)@MMove the list selected index by the specified amount, subject to validation.AQSet the selected index for a list to the specified index, subject to validation.B)Return a list's selected element, if any.C:Remove all elements from the list and clear the selection.D\Reverse the list. The element selected before the reversal will again be the selected one.()*+,123456789The list name (must be unique)The initial list contentsGThe list item height in rows (all list item widgets must be this high):1Rendering function, True for the selected elementWhether the list has focusThe List to be renderedrendered widget;0The position at which to insert (0 <= i <= size)The element to insert<:The position at which to remove an element (0 <= i < size)=>?@ABCDE()*+,123456789:;<=>?@ABCD()*+,9:51432@A>?;<=BCD678()*+,123456789:;<=>?@ABCDENoneF;The attribute of the completed portion of the progress bar.G<The attribute of the incomplete portion of the progress bar.HDraw a progress bar with the specified (optional) label and progress value. This fills available horizontal space and is one row high.FGHJThe label. If specified, this is shown in the center of the progress bar.8The progress value. Should be between 0 and 1 inclusive.FGHHFGFGHNone !"#$%&'()*+456798:;<=>?@ABCDEFGHIJKLMNOPQRSTXUVWYZ[\]^_`abcdefghijklmnopqrustvwxyz{|~} !"#$%&''()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPPQRSTUVVWXYZ[\]^_`abcddefghiijklmnopqrstuvwxyz{|}~                                   ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_=`>abcdefgghijklmnopqrstuvwxyz{|}~r]^Z]^Z       * ]^!brick-0.13-6T4FA4YDc3EEcmjALuXyt3Data.Text.MarkupBrick.Widgets.Border.Style Brick.Types Brick.AttrMap Brick.Markup Brick.UtilBrick.Widgets.Core Brick.Main Brick.FocusBrick.Widgets.CenterBrick.Widgets.BorderBrick.Widgets.DialogBrick.Widgets.EditBrick.Widgets.ListBrick.Widgets.ProgressBarBrick.Types.TH Control.Lens makeLensesBrick.Types.InternallookupViewportBrick.Widgets.InternalEventMListEditappChooseCursor Data.TextZipperBrickMarkup@@fromTexttoText markupSet markupToListfromList$fIsStringMarkup$fMonoidMarkup $fShowMarkup BorderStyle bsCornerTL bsCornerTR bsCornerBR bsCornerBLbsIntersectFull bsIntersectL bsIntersectR bsIntersectT bsIntersectB bsHorizontal bsVerticalborderStyleFromCharasciiunicode unicodeBoldunicodeRounded$fDefaultBorderStyle$fShowBorderStyle$fReadBorderStyle$fEqBorderStyle suffixLensesAttrMapAttrNameattrNameattrMap forceAttrMapmergeWithDefault attrMapLookup setDefaultapplyAttrMappings mapAttrName mapAttrNames$fDefaultAttrMap$fIsStringAttrName$fMonoidAttrName$fDefaultAttrName$fShowAttrName $fEqAttrName $fOrdAttrName $fShowAttrMapLocationloc DirectionUpDownNextExtent ViewportTypeVertical HorizontalBothViewportVP_vpLeft_vpTop_vpSizeVisibilityRequestVR vrPositionvrSizeResultimagecursorsvisibilityRequestsextentsCursorLocationcursorLocationcursorLocationNameTerminalLocationcolumnLcolumnrowLrowlocLContext ctxAttrName availWidth availHeightctxBorderStyle ctxAttrMap BrickEventVtyEventAppEvent MouseDownMouseUpcursorsLextentsLimageLvisibilityRequestsL vrPositionLvrSizeLcursorLocationLcursorLocationNameLvpLeftvpSizevpTopRenderMWidgethSizevSizerenderSizeFixedGreedy runEventMPaddingPadMaxhandleEventLensed getContext$fFunctorEventM$fApplicativeEventM $fMonadEventM$fMonadIOEventM $fShowSize$fEqSize $fOrdSize availHeightL availWidthL ctxAttrMapL ctxAttrNameLctxBorderStyleLattrLlookupAttrName $fTerminalLocationCursorLocationGetAttrgetAttr@?markup$fGetAttrAttrName $fGetAttrAttrclamponfgbgclOffset cropToContextViewportScroll hScrollPage hScrollByhScrollToBeginning hScrollToEnd vScrollPage vScrollByvScrollToBeginning vScrollToEndsetTopsetLeftAppappDrawappHandleEvent appStartEvent appAttrMap defaultMain simpleMain resizeOrQuit customMain clickedExtent lookupExtentfindClickedExtents getVtyHandleinvalidateCacheEntryinvalidateCacheneverShowCursorshowFirstCursorshowCursorNamedviewportScrollcontinuehaltsuspendAndResumeNamedgetNamewithBorderStyle emptyWidgetaddResultOffset reportExtent clickablestrtxtpadLeftpadRightpadTop padBottom padLeftRight padTopBottompadAllfillvBoxhBoxhLimitvLimitwithAttr withDefAttr updateAttrMap forceAttr overrideAttrraw translateBy cropLeftBy cropRightBy cropTopBy cropBottomBy showCursorcachedviewportunsafeLookupViewportvisible visibleRegion<+><=> FocusRing focusRing focusNext focusPrev withFocusRingfocusGetCurrentfocusRingCursor$fFunctorFocusRinghCenter hCenterLayer hCenterWithvCenter vCenterLayer vCenterWithcenter centerWith centerLayer centerAbout borderAttr vBorderAttr hBorderAttrhBorderLabelAttr tlCornerAttr trCornerAttr blCornerAttr brCornerAttr borderElemborderborderWithLabelhBorderhBorderWithLabelvBorderDialog dialogTitle dialogButtonsdialogSelectedIndex dialogWidthdialogButtonsLdialogSelectedIndexL dialogTitleL dialogWidthLhandleDialogEventdialog dialogAttr buttonAttrbuttonSelectedAttr renderDialogdialogSelectionEditor editContentseditDrawContents editorName editContentsLeditDrawContentsLhandleEditorEvent editorTexteditor applyEditeditAttreditFocusedAttrgetEditContents renderEditor$fNamedEditorn $fShowEditor listElements listSelectedlistNamelistItemHeight $fFunctorList$fFoldableList$fTraversableList $fShowList listElementsLlistItemHeightL listNameL listSelectedLhandleListEventlistAttrlistSelectedAttrlistSelectedFocusedAttrlist renderList listInsert listRemove listReplace listMoveUp listMoveDown listMoveBy listMoveTolistSelectedElement listClear listReverse $fNamedListnprogressCompleteAttrprogressIncompleteAttr progressBarvty-5.12-E86dGJfOW8H3YwJkNvUZdRGraphics.Vty.AttributesAttrbaseGHC.Basemappend ForceAttr combineAttrs combineMDsoriginContinueSuspendAndResumeHaltEventROeventViewportMapeventVtyHandle latestExtents EventStateESesScrollRequestscacheInvalidateRequestsCacheInvalidateRequestInvalidateSingleInvalidateEntire ScrollRequest HScrollBy HScrollPageHScrollToBeginning HScrollToEnd VScrollBy VScrollPageVScrollToBeginning VScrollToEndSetTopSetLeft$fMonoidLocation$fTerminalLocationLocation$fField2LocationLocationIntInt$fField1LocationLocationIntInt RenderStateRS viewportMaprsScrollRequests observedNames renderCacheclickableNames$fDefaultResultclickableNamesLobservedNamesL renderCacheLrsScrollRequestsL viewportMapL renderFinalcropResultToContext viewportNameNothingGraphics.Vty.Input.EventsEvent InternalNextInternalSuspendAndResume InternalHalt runWithNewVtysupplyVtyEventsrunVtyapplyInvalidationsfindClickedExtents_withVty renderAppaddScrollRequest BoxRendererString#text-1.2.2.1-9Yh8rJoh8fO2JMLWffT3QsData.Text.InternalText renderBoxGraphics.Vty.Prelude DisplayRegioncontextPrimarycontextSecondary imagePrimaryimageSecondary limitPrimarylimitSecondaryprimaryWidgetSizeconcatenatePrimarylocationFromOffsetpadImageSecondaryaddVisibilityOffsetaddExtentOffsetaddCursorOffset unrestricted vBoxRenderer hBoxRendererhReleasevRelease cacheLookup cacheUpdatescrollTo scrollToViewFocusRingEmptyFocusRingNonemptyborder_hBorder_ nextButtonBy editorNameLJustdrawListElements