B      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~                   !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|} ~!"##$%&'''''''''*(Safe  )Strict unit type(c) Eric Mertens, 2016ISCemertens@gmail.comSafeUnit data type with a strict  and  instances. is strict is strict,  is O(1)*Lens utility functions(c) Eric Mertens, 2016ISCemertens@gmail.comNoneModify the target of a d with a function. The result is strict in the results of applying the function. Strict version of 9Set a value strictly in the set value. Strict version of . to the  component of a " to the 'TimeOfDay component of a ." to the 'TimeOfDay component of a .0Parser for unstructure configuration file format(c) Eric Mertens, 2016ISCemertens@gmail.comNoneI1Parser for consuming key-value pairs of sections.9Class for types that have a well-known way to parse them. Parse a valueVConfiguration parser tracking current location and for propagating error information.JRun a top-level parser to either get the parsed value or an error message.8A parser that always fails with the given error message.VEmbed a parser into an extended location. This is used when parsing inside a section.Parse a  according to the method in the Lift a  into a 5 leaving the current section information unmodified. Run a  given particular .. This will only succeed when the value is a F and the section parser consumes all of the sections from that value. (sectionOpt = sectionOptWith parseConfig Parses the value stored at the given section with the given parser. Nothing is returned if the section is missing. Just is returned if the parse succeeds Error is raised if the section is present but the parse fails -Parse the value at the given section or fail. -Parse the value at the given section or fail.Matches < values, extends the error location with a zero-based indexMatches  valuesMatches  values ignoring the baseMatches  values ignoring the baseMatches  values.error message     9Types for representing the current window being displayed(c) Eric Mertens, 2016ISCemertens@gmail.comNone Currently focused window No networkNetworkNetwork Channel/Nick! Subfocus view" Show messages#Show channel metadata$Show channel user list%%Show channel mask list for given mode&Show client windows14Return the network associated with the current focus2Unfocused first, followed by focuses sorted by network. Within the same network the network focus comes first and then the channels are ordered by channel identifier!"#$%&'(),-./01network 2!"#$%&'(),-./01!"#$%&1)(',-./0 !"#$%&'(),-./012$Multiline text container with cursor(c) Eric Mertens, 2016ISCemertens@gmail.comNone90Zipper-ish view of the multi-line content of an EditBox . Lines B the  are stored in reverse order.DDefault 9 valueE Single line 9.F!Shifts the first line off of the 9=, yielding the text of the line and the rest of the content.GlWhen at beginning of line, jump to beginning of previous line. Otherwise jump to beginning of current line.HVWhen at end of line, jump to end of next line. Otherwise jump to end of current line.I0Move the cursor left, across lines if necessary.J1Move the cursor right, across lines if necessary.K3Move the cursor left to the previous word boundary.L0Move the cursor right to the next word boundary.M'Delete the character before the cursor.N,Delete the character after/under the cursor.O/Insert character at cursor, cursor is advanced.PSmarter version of Q that removes spurious newlines.QOInsert string at cursor, cursor is advanced to the end of the inserted string.)Advance to the beginning of the next line'Retreat to the end of the previous line%34569:;<=>?BCDEFGHIJKLMNOPQR34569:=<;>BCDEFGHIJKLMNOPQ9BCEDF3456:;<=>IJKLGHNMPQO34569:;<=>?BCDEFGHIJKLMNOPQRConsole-mode text box(c) Eric Mertens, 2016ISCemertens@gmail.comNone ^Default W valueDSets the given string to the yank buffer unless the string is empty._Indicate that the contents of the text box were successfully used by the program. This clears the first line of the contents and updates the history.`AUpdate the editbox to reflect the earlier element in the history.a?Update the editbox to reflect the later element in the history.b.Jump the cursor to the beginning of the input.c(Jump the cursor to the end of the input.dLDelete all text from the cursor to the end and store it in the yank buffer.eRDelete all text from the cursor to the beginning and store it in the yank buffer.f%Insert the yank buffer at the cursor.gKKill the content from the cursor back to the previous word boundary. When yank( is set the yank buffer will be updated.hJKill the content from the curser forward to the next word boundary. When yank' is set the yank buffer will be updatedi8Insert a character at the cursor and advance the cursor."STUVW\]^_`abcdefgyank hyank ijk'349:=<;>BCEFIJKLMNQSTUVW\]^_`abcdefghij'W^\]34E>:;<=9FBCNMbcedghfIJKLijQ`a_STUVSTUVW\]^_`abcdefghijkIRC channel session state(c) Eric Mertens, 2016ISCemertens@gmail.comNonet5Dynamic information about the state of an IRC channelv topic textwauthor and timestamp for topicx channel URLyuser list and sigilszchannel settings and parameters{mode, mask, setter, set time|creation time of channel}delayed op messagesConstruct an empty tAdd a user to the user list Remove a user from the user listRename a user in the user listSet the channel topic#lmnopqrstuvwxyz{|}#lmnopqrstuvwxyz{|}#tuvwxyz{|}lmnopqrslmnopqrst uvwxyz{|}Messages to be added to buffers(c) Eric Mertens, 2016ISCemertens@gmail.comNone7Compute a searchable text representation of the message 2Types and operations for managing message buffers.(c) Eric Mertens, 2016ISCemertens@gmail.comNone;Flag for the important of a message being added to a windowDon't update unread countIncrement unread count-Increment unread count and set important flagA J tracks all of the messages and metadata for a particular message buffer.!Messages to display, newest first'Messages added since buffer was visibleMessages in buffer&Indicates an important event is unread,A single message to be displayed in a windowOriginal Haskell valueSearchable text formNormal rendered imageDetailed rendered imageA window with no messages~Adds a given line to a window as the newest message. Window's unread count will be updated according to the given importance.?Update the window clearing the unread count and important flag.'Palette of colors used to render the UI(c) Eric Mertens, 2016ISCemertens@gmail.comNone.Color palette used for rendering the client UIhighlighting nicknamesown nickname(s)own nickname(s) in mentionsmessage timestampscoalesced metadatasigils (e.g. @+)information labels ping latency window nameerror messagestextbox markerswindow name with activitywindow name with mention known command%known command with complete argumentsrequired argument placeholderoptional argument placeholder"remaining command text placeholderBDefault UI colors that look nice in my dark solarized color schemeSDefault nick highlighting colors that look nice in my dark solarized color scheme.('' *Parser for mIRC's text formatting encoding(c) Eric Mertens, 2016ISCemertens@gmail.comNoneEParse mIRC encoded format characters and hide the control characters.Parse mIRC encoded format characters and render the control characters explicitly. This view is useful when inputting control characters to make it clear where they are in the text."Safely render a control character. Render a  with default attributes and replacing all of the control characters with reverse-video letters corresponding to caret notation.  Renderer for message lines(c) Eric Mertens, 2016ISCemertens@gmail.comNoneAn identifier in a PRIVMSGAn identifier somewhere else%Level of detail to use when renderingonly render nicknamesrender full user info'Parameters used when rendering messagesrestricted message sigils sender sigilsnicknames to highlightnicknames to highlight in rednick color palette nick paddingDefault MessageRenderParams& with no sigils or nicknames specifiedWConstruct a message given the time the message was received and its render parameters.@Render the given time according to the current mode and palette.+Render the sigils for a restricted message. Render a ; given the sender's sigils and the nicknames to highlight. Render a  as time using quiet attributes 23:15  Render a , as full date and time user quiet attributes 2016-07-24 23:15:10 -Optionally insert padding on the right of an ! until it has the minimum width.Render a chat message given a rendering mode, the sigils of the user who sent the message, and a list of nicknames to highlight.*Render a nickname in its hash-based color.Render an a full user. In normal mode only the nickname will be rendered. If detailed mode the full user info including the username and hostname parts will be rendered. The nickname will be colored.GRender an identifier without using colors. This is useful for metadata.Parse message text to construct an image. If the text has formatting control characters in it then the text will be rendered according to the formatting codes. Otherwise the nicknames in the message are highlighted.Given a list of nicknames and a chat message, this will generate an image where all of the occurrences of those nicknames are colored.KReturns image and identifier to be used when collapsing metadata messages.:Image used when treating ignored chat messages as metadata$time of message error message message sigils color palette draw mode my nicknames identifier to draw color palette mode my nicks userinfo to draw my nicks  other nicks  my nicks  other nicks  'Hooks into the operation of the client.(c) Dan Doel, 2016ISCdan.doel@gmail.comNoneIdentifying name for the hook0Whether the remapping should affect client state"(Partial) message remapping actionThe possible results of a 2 action. A hook can decline to handle a message (), filter out a message (9), or change a message into an arbitrary other message ().$Apply the given message hooks to an A. The hooks are tried in order until one handles the message. A 9 result means the message was filtered out by a hook. A  result contains the actual  to be processed.                    %Hook to remap znc buffextras messages(c) Dan Doel, 2016ISCdan.doel@gmail.comNoneMap ZNC's buffextras messages to native client messages. Set debugging to pass through buffextras messages that the hook doesn't understand.enable debugging enable debugging  Available hooks(c) Dan Doel, 2016ISCdan.doel@gmail.comNone All the available message hooks.-Human-readable versions of connection failure(c) Eric Mertens, 2016ISCemertens@gmail.comNoneBCompute the message message text to be used for a connection errornetwork error client lines   network error client lines         *Client configuration format and operations(c) Eric Mertens, 2016ISCemertens@gmail.comNoneAParse a text attribute. This value should be a sections with the fg and/or bg attributes. Otherwise it should be a color entry that will be used for the foreground color. An empty sections value will result in #Parse a color. Support formats are:Number between 0-255 Name of colorRGB values of color as a list  Tab-completion logic(c) Eric Mertens, 2016ISCemertens@gmail.comNone'Class for types that are isomorphic to > and which can support a total order and a prefix predicate. +, ( x) == x  (+, x) == x +- x y ==> x  y DCheck if the first argument is a lexicographic prefix of the second. Convert to a .&Perform word completion on a text box.The leading update operation is applied to the result of tab-completion when tab completing from the beginning of the text box. This is useful when auto-completing a nick and including a trailing colon.The reversed parameter indicates that tab-completion should return the previous entry. When starting a fresh tab completion the priority completions will be considered in order before resorting to the set of possible completions. leading update operation  reversed priority completions possible completions 9Parser and evaluator for string interpolation in commands(c) Eric Mertens, 2016ISCemertens@gmail.comSafe%Parsed chunk of an expandable command regular textinline variable $x or ${x y}inline variable $1 or ${1} bracketed variable with default ${x|lit}Parse a / searching for the expansions as specified in . $$ is used to escape a single $.Attempt to expand all of the elements in the given list using the two expansion functions. If the expansion of any chunk fails the whole expansion fails.  variable resolution argument index resolution chunks concatenated, expanded chunks  )Settings for an individual IRC connection(c) Eric Mertens, 2016ISCemertens@gmail.comNone!TLS connection"+TLS connection without certificate checking#Plain connection$Static server-level settings&connection nicknames'connection username(connection realname / GECOS) CTCP userinfo*server password+ SASL username, SASL password-server hostname. server port/use TLS to connect0path to client TLS certificate1path to client TLS key2.commands to execute upon successful connection3hostname of SOCKS proxy4port of SOCKS proxy50additional CA certificates for validating server6"Channels with chanserv permissions7Flood limiter penalty (seconds)8!Flood limited threshold (seconds)9Initial message hooks:+The name referencing the server in commandsRJLoad the defaults for server settings based on the environment variables.USER,  IRCPASSSWORD, and  SASLPASSWORD are used.1 !"#$%&'()*+,-./0123456789:=>?@ABCDEFGHIJKLMNOPQR1 !"#$%&'()*+,-./0123456789:=>?@ABCDEFGHIJKLMNOPQR1$%&'()*+,-./0123456789:DPGQEIHAFMNO>KLJ=?@BCR !"# !"#$%&'()*+,-./0123456789:=>?@ABCDEFGHIJKLMNOPQR*Client configuration format and operations(c) Eric Mertens, 2016ISCemertens@gmail.comNone!"S\Top-level client configuration information. When connecting to a server configuration from V$ is used where possible, otherwise U is used.UDefault connection settingsVHost-specific settingsX(Names of windows, used when alt-jumping)YExtra highlight nicks/termsZPadding of nicks[9manually specified configuration path, used for reloading\command macros]paths to shared library^paths to url opening executable_initial ignore list!Uses " to find  .glirc/config#Uses $ % to find .configglircconfig&_Empty configuration file used when no path is specified and the configuration file is missing.'YAttempt to read a file using the given handler when a file does not exist. On failure a d exception is throw.(Either read a configuration file from one of the default locations, in which case no configuration found is equivalent to an empty configuration, or from the specified file where no configuration found is an error.p*Load the configuration file defaulting to ~.glircconfig.qgResolve relative paths starting at the home directory rather than the current directory of the client.3STUVWXYZ[\]^_abcdefghijklmno)!#&' file to read !error handler for not found case (&just file or use default search paths ppath to configuration file *$optionally specified path to config %prepopulated default server settings +,-./01234q567rSTUVWXYZ[\]^_abcdefghijklmnopqSTUVWXYZ[\]^_abcdfmlokejghnipq$S TUVWXYZ[\]^_abcdefghijklmno)!#&'(p*+,-./01234q567r#Interface to the connection package(c) Eric Mertens, 2016ISCemertens@gmail.comNonet Create a new 85 which will be closed when the continuation finishes.9:;<=ttt9:;<=tEvent-based network IO(c) Eric Mertens, 2016ISCemertens@gmail.comNone u-Exceptions used to kill connections manually.vsent when ping timer expiresw*sent when client commands force disconnectxThe sum of incoming events from a network connection. All events are annotated with a network ID matching that given when the connection was created as well as the time at which the message was recieved.y/Event for a new recieved line (newline removed)z6Final message indicating the network connection failed{8Final message indicating the network connection finished|Handle for a network connection}:Identifier used to match connection events to connections.~Schedule a message to be transmitted on the network connection. These messages are sent unmodified. The message should contain a newline terminator.(Force the given connection to terminate.9Initiate a new network connection according to the given $R. All events on this connection will be added to the given queue. The resulting |^ value can be used for sending outgoing messages and for early termination of the connection.uvwxyz{|>?@}~delay in seconds )Identifier to be used on incoming events ABCD uvwxyz{|}~ |}xyz{~uvw uvwxyz{|>?@}~ABCDIRC network session state(c) Eric Mertens, 2016ISCemertens@gmail.comNone)Status of the ping timerping sent waiting for pong latency in seconds for last ping no ping sent.number of attempts, last known connection timeKPair of username and hostname. Empty strings represent missing information.username hostname%State tracked for each IRC connectionnetwork connection identifierjoined channelsnetwork socketchannel mode meaningschannel identifier prefixes!state for multi-message sequencesmodes for the connected user)modes that prefix statusmsg channel names!settings used for this connection/usermask used by the server for this connection!user and hostname for other nicks%maximum mode changes per MODE commandname of network connectiontime for next ping eventstate of ping timertime of last message received2names of message hooks to apply to this connectionTimer-based events'terminate the connection due to timeouttransmit a ping to the server Transmit a E; on the connection associated with the given network. For PRIVMSG and NOTICEF overlong commands are detected and transmitted as multiple messages.qConstruct a new network state using the given settings and default values as specified by the IRC specification.FUsed for updates to a  that require no reply. noReply x = ([], x)G001 H is the first message received when transitioning from the initial handshake to a connected state. At this point we know what nickname the server is using for our connection, and we can start scheduling PINGs.IHandle J errors when connecting.K'Add an entry to a mode list transactionLKSave a completed ban, quiet, invex, or exempt list into the channel state.M[These replies are interpreted by the client and should only be shown in the detailed view.Return N for messages that should be hidden outside of full detail view. These messages are interpreted by the client so the user shouldn't need to see them directly to get the relevant information.>Predicate to test if the connection has op in a given channel.OProcess a list of WHO replies:Compute the earliest timed action for a connection, if anyApply the given  to a connection state.cPQRSTunique network ID network name server settings active network connection initial ping status new network state FUVWGmessage received my nickname I bad nickname replies, updated state XYZKmask set by  set time Lmode channel M[time of message sender channel mode flags mode parameters \]^_`abcd  "key=value"efghijklOm>>FPQRSTFUVWGIXYZKLM[\]^_`abcdefghijklOm Implementation of slash commands(c) Eric Mertens, 2016ISCemertens@gmail.comNone Settings for /exec command.RWhen no network or channel are specified the output is sent to the client window.YWhen only a network is specified the output is sent as raw IRC commands to that network.mWhen only a channel is specified the output is sent as messages on the current network to the given channel.uWhen the network and channel are specified the output is sent as messages to the given channel on the given network.output networkoutput channelcommand filename stdin sourcecommand argumentsDefault values for /exec to be overridden by flags. (Command argument description and parsing(c) Eric Mertens, 2016ISCemertens@gmail.comSafe%&DwDescription of a command's arguments indexed by the result of parsing those arguments. Arguments are annotated with a  describing the argument. A required space-delimited token!An optional space-delimited token(Take all the remaining text in free-form No arguments{Parse the given input string using an argument specification. The arguments should start with a space but might have more.n@Return the next space delimited token. Leading space is dropped.specification input string parse results nn&Rendering logic for commanad arguments(c) Eric Mertens, 2016ISCemertens@gmail.comNone%&(Parse command arguments against a given . The given text will be rendered and then any missing arguments will be indicated by extra placeholder values appended onto the image. Parameters are rendered with  except for the case of  which supports WYSIWYG.o Construct an > containing placeholders for each of the remaining arguments.ooMarshaling support for C API(c) Eric Mertens, 2016ISCemertens@gmail.comSafe!" struct glirc_string struct glirc_commandarray array length struct glirc_messagearray array lengtharrayarray array length struct glirc_extensionOptional callbackOptional callbackOptional callbackOptional callbackNull-terminated name*Type of dynamic function pointer wrappers.0api token extension state command api token extention state message to send api token extension state api token path to extension initialized extension state      ,     ,            Dynamically loaded extension API(c) Eric Mertens, 2016ISCemertens@gmail.comNone!" Information about a loaded extension including the handle to the loaded shared object, and state value returned by the startup callback, and the loaded extension record.$Struct of callback function pointers&Handle of dynamically linked extension'State value generated by start callback3The symbol that is loaded from an extension object."Extensions are expected to export: "struct galua_extension extension; Load the extension from the given path and call the start callback. The result of the start callback is saved to be passed to any subsequent calls into the extension.WCall the stop callback of the extension if it is defined and unload the shared object.Call all of the process message callbacks in the list of extensions. This operation marshals the IRC message once and shares that across all of the callbacks. BNotify an extension of a client command with the given parameters.p Marshal a E into a ; which will be valid for the remainder of the computation.path to extension clientstate stable pointer network current message Return N to pass message  client state stableptr parameters extension to command p network  message q parameters rst    pqrst/Primary client state type and update operations(c) Eric Mertens, 2016ISCemertens@gmail.comNone8"(All state information for the IRC client$client message buffers%previously focused buffer&currently focused buffer'sec(state of active connections*network connection context+incoming network event queue,network name to connection ID- VTY handle.primary text box/current terminal width0current terminal height1client configuration2buffer scroll lines3use detailed rendering mode4sound a bell next draw5ignored nicknamesKu for finding the I associated with a given network if that connection is currently active.L-The full top-most line that would be executedM*The line under the cursor in the edit box.NConstruct an initial " using default values.v Initialize a w, value and run a continuation. Shutdown the w! once the continuation finishes.OTForcefully terminate the connection currently associated with a given network name.P;Add a message to the window associated with a given channelx5Extract the status mode sigils from a message target.ybCompute the importance of a message to be used when computing change notifications in the client.QTPredicate for messages that should be ignored based on the configurable ignore listRARecord a message in the windows corresponding to the given targetz2Compute the sigils of the user who sent a message.{&Compute sigils for a user on a channelS$Record a message on a network window|FRecord window line at the given focus creating the window if necessary}~& but with mostly defaulted parameters.T2Function applied to the client state every redraw.0Mark the messages on the current window as seen.U@Add the textbox input to the edit history and clear the textbox.VCReturns the current network's channels and current channel's users.WFConstruct a text matching predicate used to filter the message window.YRemove a network connection and unlink it from the network map. This operation assumes that the networkconnection exists and should only be applied once per connection.Z<Start a new connection. The delay is used for reconnections.When a nick change happens and there is an open query window for that nick and there isn't an open query window for the new nick, rename the window.]9Start extensions after ensuring existing ones are stopped^0Scroll the current buffer to show older messages_0Scroll the current buffer to show newer messages@Compute the number of lines in a page at the current window size`Jump the focus of the client to a buffer that has unread activity. Some events like errors or chat messages mentioning keywords are considered important and will be jumped to first.aBJump the focus directly to a window based on its zero-based index.bChange the window focus to the given value, reset the subfocus to message view, reset the scroll, remember the previous focus if it changed.cNChange the subfocus to the given value, preserve the focus, reset the scroll.d$Return to previously focused window.eVStep focus to the next window when on message view. Otherwise switch to message view.fZStep focus to the previous window when on message view. Otherwise switch to message view.Step focus to the next window when on message view. Otherwise switch to message view. Reverse the step order when argument is N.gbCompute the set of extra identifiers that should be highlighted given a particular network state.\Compute the set of extra identifiers that should be highlighted given a particular network._!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKnetwork LMline number, line content NvOnetwork Pnetwork channel xpossible modes target actual modes, actual target yQRnetwork znetwork channel sigils {network channel user sigils S|~}TUVnetwork  channels network channel nicks WXYZattempts optional disconnect time network name [timestamp message recieved message network network connection state response , updated state network \]^_`azero-based window index b new focus  client state c new subfocus  client state def reversed gnetwork state client state extra highlight identifiers network client state extra highlight identifiers G!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefgG"#$%&'()*+,-./0123456HE:G?<F>98C;DBA@K7=N\]JWXUVQLMOZYT[gPSRbcdef`a^_!IG!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNvOPxyQRz{S|~}TUVWXYZ[\]^_`abcdefg9Foreign exports which expose functionality for extensions(c) Eric Mertens, 2016ISCemertens@gmail.comNone!" hMark a window as being seen clearing the new message counter. To clear the client window send an empty network name. To clear a network window send an empty channel name.iMark a window as being seen clearing the new message counter. To clear the client window send an empty network name. To clear a network window send an empty channel name.jXThe resulting string is malloc'd and the caller must free it. NULL returned on failure.krThe resulting strings and array of strings are malloc'd and the caller must free them. NULL returned on failure.lqThe resulting strings and array of strings are malloc'd and the caller must free them. NULL returned on failure.mCase insensitive comparison suitable for use on channels and nicknames. Returns -1 if the first identifier is less than the second Returns 0 if the first identifier is equal to the second Returns 1 if the first identifier is greater than the secondnqThe resulting strings and array of strings are malloc'd and the caller must free them. NULL returned on failure.o-Print a message or error to the client windowpFNetwork, command, and parameters are used when transmitting a message.<Dereference the stable pointer passed to extension callbacks Import a  into an EPeek a  as UTF-8 encoded bytes.hapi token network name network name length channel name channel name length iapi token network name network name length channel name channel name length japi token network name network name length k api token  network  network len  channel  channel len 1null terminated array of null terminated strings l api token  network  network len 1null terminated array of null terminated strings midentifier 1 identifier 1 len identifier 2 identifier 2 len n1api token 1null terminated array of null terminated strings oapi token enum message_code message message length 0 on success papi token pointer to message 0 on success  hijklmnop ponlkjmihhijklmnop Implementation of slash commands(c) Eric Mertens, 2016ISCemertens@gmail.comNoneAT,q1Pair of a command and it's argument specificationPair of implementations for executing a command and tab completing one. The tab-completion logic is extended with a bool indicating that tab completion should be reversedno requirementsrequires an active networkrequires an active chat window!requires an active channel window=Type of commands that require an active channel to be focused=Type of commands that require an active network to be focused!Type of commands that always works%Possible results of running a commandtDContinue running the client, consume input if command was from inputu,Continue running the client, report an errorvClient should close8Consider the text entry successful and resume the client7Consider the text entry a failure and resume the client>Command failure with an error message printed to client windoww5Interpret the given chat message or command. Leading /d indicates a command. Otherwise if a channel or user query is focused a chat message will be sent.x?Execute command provided by user, resolve aliases if necessary.y?Compute the replacement value for the given expansion variable.zRespond to the TAB key being pressed. This can dispatch to a command specific completion mode when relevant. Otherwise this will complete input based on the users of the channel related to the current buffer.;Treat the current text input as a chat message and send it.Parse and execute the given command. When the first argument is Nothing the command is executed, otherwise the first argument is the cursor position for tab-completion@Expands each alias to have its own copy of the command callbacks{iMap of built-in client commands to their implementations, tab completion logic, and argument structures.When used on a channel that the user is currently joined to this command will clear the messages but preserve the window. When used on a window that the user is not joined to this command will delete the window.Implementation of /meImplementation of /ctcpImplementation of /noticeImplementation of /msgCommon logic for /msg and /noticeCommon logic for /msg and /notice returning the client stateImplementation of /windows" command. Set subfocus to Windows./connect! tab completes known server names\When tab completing the first parameter of the focus command the current networks are used.yThis command is equivalent to chatting without a command. The primary use at the moment is to be able to send a leading / to chat easily./channela command. Takes the name of a channel and switches focus to that channel on the current network.Reconnect to the currently focused network. It's possible that we're not currently connected to a network, so this is implemented as a client command.Implementation of /reload(Attempt to reload the configuration fileSSupport file name tab completion when providing an alternative configuration file.NOT IMPLEMENTEDIUse the *!*@host masks of users for channel lists when setting list modes.Use the channel's mask list for removing modesUse the nick list otherwise=Predicate for mode commands that can be performed without opssComplete the nickname at the current cursor position using the userlist for the currently focused channel (if any)Used to send commands that require ops to perform. If this channel is one that the user has chanserv access and ops are needed then ops are requested and the commands are queued, otherwise send them directly.Implementation of /exec command._qrfocused channel current network  arguments stuvwchat or command xydisconnect time client state expansion variable expansion value z reversed {target target leading transform hints all completions reversed order  reversed  reversed mode polarity mode channel (hint, complete)  reversed channel commands network state  qrstuvwxyz{ stuvwxyzqr{Wqrstuvwxyz{Channel information renderer(c) Eric Mertens, 2016ISCemertens@gmail.comNone|,Render the lines used in a channel mask list|network channel ||| )Line renderers for channel mask list view(c) Eric Mertens, 2016ISCemertens@gmail.comNone},Render the lines used in a channel mask list} Mask mode  network  channel }}}!Renderer for status line(c) Eric Mertens, 2016ISCemertens@gmail.comNone~9Renders the status line between messages and the textbox. ~~~ ~"Textbox renderer(c) Eric Mertens, 2016ISCemertens@gmail.comNoneCompute the UI image for the text input box. This computes the logical cursor position on the screen to compensate for VTY's cursor placement behavior.5Renders the whole, uncropped text box as well as the  corresponding to the rendered image which can be used for computing the logical cursor position of the cropped version of the text box. Version of 7 that accounts for how control characters are rendered Version of 7 that accounts for how control characters are renderedRender an unfocused line}Render the active text box line using command highlighting and placeholders, and WYSIWYG mIRC formatting control characters.cursor column, image&palette &content &plain text rendering, image rendering #)Line renderers for channel user list view(c) Eric Mertens, 2016ISCemertens@gmail.comNoneRender the lines used by the /users command in normal mode. These lines show the count of users having each channel mode in addition to the nicknames of the users.Render lines for the /usersu command in detailed view. Each user will be rendered on a separate line with username and host visible when known.network channel network channel $ View of the list of open windows(c) Eric Mertens, 2016ISCemertens@gmail.comNone)Draw the image lines associated with the /windows command.% UI renderer(c) Eric Mertens, 2016ISCemertens@gmail.comNone Generate a u for the current client state. The resulting client state is updated for render specific information like scrolling.-Classify window lines for metadata coalesence   current nick  metadata  palette  .text box cursor position, image, updated state   metadata image possible nick transition possible nick transition metadata entries are reversed;Image, incoming identifier, outgoing identifier if changed       &Event loop for IRC client(c) Eric Mertens, 2016ISCemertens@gmail.comNoneX<Sum of the three possible event types the event loop handlesKey presses and resizingIncoming network events'Timed action and the applicable networkBlock waiting for the next V. This function will compute an appropriate timeout based on the current connections."Apply this function to an initial " to launch the client.*Sound the terminal bell assuming that the BEL control code is supported.1Respond to a network connection closing normally.3Respond to a network connection closing abnormally.Respond to an IRC protocol line. This will parse the message, updated the relevant connection state and update the UI buffers.Client-level responses to specific IRC messages. This is in contrast to the connection state tracking logic in "Client.NetworkState "!Find the ZNC provided server time6Parses the time format used by ZNC for buffer playback gReturns the list of values that were stored at the given indexes, if a value was stored at that index.!Respond to a VTY event.",Map keyboard inputs to actions in the client#Process s by either running the  with the new " or returning.$Respond to a timer event.%finished network current time failed network current time termination reason Network ID of message current time !Raw IRC message without newlines &now current network command 'now current network bad command  !"#($Network related to event Action to perform %&' !"#($'$Processing of command-line arguments(c) Eric Mertens, 2016ISCemertens@gmail.comNone Command-line argumentsconfiguration file pathinitial networksshow help messageshow version message)Default values for arguments*Option descriptionswLoad command line arguments. This action will terminate early in the case of the version flag, help flag, or an error.+Returns  "-SOMEHASH" when in a git repository, "" otherwise.,Returns "-dirty"! when in a dirty git repository, "" otherwise.-.)*/01+,   -.)*/01+,2./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`aabcdefghijklmnopqrstuvwxyz{|}~                         ! " # $ % % & ' ( ) * + , - . / 0 1 2 3 4567+89:;<=>?@ABCCDEFFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrsttuvwxyz{|}~     )) !"#$%&'()**+,-./01234567789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ !"##$%&'''''''''((((((((((((())))))*****.1f                                                     ! "#$%&'() *+,-./01234567-,89:;<=>?@AB?@C?@DEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijkilmno5pqrstuvwxyz{|}~ 6      !!!!!!!!!"" " " "!#"##$$$%$&$' ()%*%+%,%-%.%/%0%1%2%3%4%5&6&7&&8&9&:&;&<&=&>&?&@&A&B&C&D&E&F&G&H&I'J''K'L'M'N'O'P'QR!glirc-2.13-LedASOTzcVEIGVpeoO94NxConfig.FromConfigClient.State.FocusClient.State.EditBox.ContentClient.State.EditBoxClient.State.ChannelClient.MessageClient.State.WindowClient.Image.PaletteClient.Image.MircFormattingClient.Image.Message Client.HookClient.Hook.Znc.Buffextras Client.HooksClient.EventLoop.ErrorsClient.Configuration.ColorsClient.Commands.WordCompletionClient.Commands.Interpolation#Client.Configuration.ServerSettingsClient.ConfigurationClient.Network.ConnectClient.Network.AsyncClient.State.NetworkClient.Commands.ExecClient.Commands.ArgumentsClient.Image.ArgumentsClient.CApi.Types Client.CApi Client.StateClient.CApi.ExportsClient.CommandsClient.Image.ChannelInfoClient.Image.MaskListClient.Image.StatusLineClient.Image.TextboxClient.Image.UserListClient.Image.Windows Client.ImageClient.EventLoopClient.CommandArguments Paths_glirc StrictUnit LensUtilsPrefixtoStringisPrefix SectionParser FromConfig parseConfig ConfigParserrunConfigParserfailure extendLoc decodeConfigliftConfigParser parseSections sectionOptsectionOptWith sectionReqsectionReqWithparseSectionsWith parseList$fFromConfig[]$fFromConfigAtom$fFromConfigRatio$fFromConfigInteger$fFromConfigText$fFunctorConfigParser$fApplicativeConfigParser$fMonadConfigParser$fFunctorSectionParser$fApplicativeSectionParser$fMonadSectionParserFocus Unfocused NetworkFocus ChannelFocus $fEqFocus $fShowFocusSubfocus FocusMessages FocusInfo FocusUsers FocusMasks FocusWindows _Unfocused _NetworkFocus _ChannelFocus $fEqSubfocus$fShowSubfocus_FocusMessages _FocusInfo _FocusUsers _FocusMasks _FocusWindows focusNetwork $fOrdFocusLine_pos_text $fReadLine $fShowLineContentHasLinelinepostextendLine $fHasLineLine $fReadContent $fShowContentabovebelow noContent singleLineshiftjumpLeft jumpRightleftrightleftWord rightWord backspacedelete insertCharinsertPastedString insertString$fHasLineContent LastOperation TabOperation KillOperationOtherOperationEditBox$fReadLastOperation$fShowLastOperation $fReadEditBox $fShowEditBoxcontent lastOperationdefaultEditBoxsuccessearlierlaterhomeendkillEndkillHomeyankkillWordBackwardkillWordForwardinsert insertPaste$fHasLineEditBox MaskListEntry_maskListSetter _maskListTimeTopicProvenance _topicAuthor _topicTime ChannelState _chanTopic_chanTopicProvenance_chanUrl _chanUsers _chanModes _chanLists _chanCreation_chanQueuedModeration$fShowTopicProvenance$fShowMaskListEntry$fShowChannelState chanCreation chanLists chanModeschanQueuedModeration chanTopicchanTopicProvenancechanUrl chanUsers topicAuthor topicTimemaskListSetter maskListTime newChannel joinChannel partChannel nickChangesetTopic MessageBodyIrcBody ErrorBody NormalBody ClientMessage _msgNetwork_msgBody_msgTime_IrcBody _ErrorBody _NormalBodymsgBody msgNetworkmsgTimemsgTextWindowLineImportanceWLBoringWLNormal WLImportantWindow _winMessages _winUnread _winTotal _winMention WindowLine_wlBody_wlText_wlImage _wlFullImage$fEqWindowLineImportance$fShowWindowLineImportance winMention winMessageswinTotal winUnreadwlBody wlFullImagewlImagewlText emptyWindow addToWindow windowSeenPalette _palNicks_palSelf_palSelfHighlight_palTime_palMeta _palSigil _palLabel _palLatency_palWindowName _palError _palTextBox _palActivity _palMention _palCommand_palCommandReady_palCommandRequired_palCommandOptional_palCommandRemaining $fShowPalette palActivity palCommandpalCommandOptionalpalCommandReadypalCommandRemainingpalCommandRequiredpalErrorpalLabel palLatency palMentionpalMetapalNickspalSelfpalSelfHighlightpalSigil palTextBoxpalTime palWindowNamedefaultPalette parseIrcTextparseIrcTextExplicit controlImage plainTextIdentifierColorModePrivmsgIdentifierNormalIdentifier RenderMode NormalRenderDetailedRenderMessageRendererParams rendStatusMsgrendUserSigils rendNicks rendMyNicks rendPaletterendNickPaddingdefaultRenderParamsmsgImagecoloredIdentifiercoloredUserInfoquietIdentifier metadataImg ignoreImage MessageHook_messageHookName_messageHookStateful_messageHookAction MessageResult PassMessage OmitMessage RemapMessage$fMonoidMessageResult$fSemigroupMessageResultmessageHookActionmessageHookNamemessageHookStatefulapplyMessageHooksbuffextrasHook messageHooksexceptionToLines parseAttr parseColor wordComplete $fPrefixText$fPrefixIdentifierExpansionChunk LiteralChunk VariableChunk IntegerChunk DefaultChunkparseExpansionresolveMacroExpansions$fShowExpansionChunkUseTlsUseInsecureTls UseInsecureServerSettings_ssNicks_ssUser_ssReal _ssUserInfo _ssPassword_ssSaslUsername_ssSaslPassword _ssHostName_ssPort_ssTls_ssTlsClientCert_ssTlsClientKey_ssConnectCmds _ssSocksHost _ssSocksPort_ssServerCerts_ssChanservChannels_ssFloodPenalty_ssFloodThreshold_ssMessageHooks_ssName $fShowUseTls$fShowServerSettingsssChanservChannels ssConnectCmdsssFloodPenaltyssFloodThreshold ssHostNamessMessageHooksssNamessNicks ssPasswordssPortssRealssSaslPasswordssSaslUsername ssServerCerts ssSocksHost ssSocksPortssTlsssTlsClientCertssTlsClientKeyssUser ssUserInfoloadDefaultServerSettings Configuration_configDefaults_configServers_configPalette_configWindowNames_configExtraHighlights_configNickPadding_configConfigPath _configMacros_configExtensions_configUrlOpener_configIgnores$fShowConfigurationConfigurationFailureConfigurationParseFailedConfigurationMalformedConfigurationReadFailedconfigConfigPathconfigDefaultsconfigExtensionsconfigExtraHighlights configIgnores configMacrosconfigNickPadding configPalette configServersconfigUrlOpenerconfigWindowNamesloadConfigurationresolveConfigurationPath$fExceptionConfigurationFailure$fShowConfigurationFailurewithConnectionTerminationReason PingTimeoutForcedDisconnect NetworkEvent NetworkLine NetworkError NetworkCloseNetworkConnection NetworkIdsendabortConnectioncreateConnection$fExceptionTerminationReason$fShowNetworkConnection$fShowTerminationReason Transaction NoTransactionNamesTransactionBanTransactionWhoTransaction PingStatusPingSent PingLatency PingNeverPingConnecting UserAndHost NetworkState _csNetworkId _csChannels _csSocket _csModeTypes_csChannelTypes_csTransaction_csModes _csStatusMsg _csSettings _csUserInfo_csUsers _csModeCount _csNetwork_csNextPingTime _csPingStatus_csLastReceived_csMessageHooks$fShowUserAndHost$fShowPingStatus$fShowTransaction$fShowNetworkStatecsChannelTypes csChannelscsLastReceivedcsMessageHooks csModeCount csModeTypescsModes csNetwork csNetworkIdcsNextPingTime csPingStatus csSettingscsSocket csStatusMsg csTransaction csUserInfocsUsers TimedActionTimedDisconnect TimedSendPingcsNicksendMsgnewNetworkState applyMessage squelchIrcMsgiHaveOpinitialMessagesisChannelIdentifiercsUsernextTimedActionapplyTimedAction$fEqTimedAction$fOrdTimedAction$fShowTimedActionExecCmd_execOutputNetwork_execOutputChannel _execCommand _execStdIn_execArguments $fReadExecCmd $fShowExecCmd execArguments execCommandexecOutputChannelexecOutputNetwork execStdIn emptyExecCmdoptions parseExecCmd runExecCmd ArgumentSpec ReqTokenArg OptTokenArg RemainingArgNoArgparseArgumentsargumentsImage FgnStringLenFgnCmdfcParamsfcParamNFgnMsg fmNetwork fmPrefixNick fmPrefixUser fmPrefixHost fmCommandfmParamsfmParamN fmTagKeys fmTagValsfmTagN FgnExtensionfgnStartfgnStop fgnMessage fgnCommandfgnNamefgnMajorVersionfgnMinorVersionDynamicProcessCommandProcessMessage StopExtensionStartExtension MessageCoderunProcessCommandrunProcessMessagerunStopExtensionrunStartExtension normalMessage errorMessage passMessage dropMessage$fStorableFgnStringLen$fStorableFgnCmd$fStorableFgnMsg$fStorableFgnExtension$fEqMessageCode$fEqMessageResultActiveExtensionaeFgnaeDL aeSessionaeNameaeMajorVersionaeMinorVersionextensionSymbolactivateExtensiondeactivateExtensionnotifyExtensionscommandExtensionExtensionState ClientState_clientWindows_clientPrevFocus _clientFocus_clientSubfocus_clientConnections_clientNextConnectionId_clientConnectionContext _clientEvents_clientNetworkMap _clientVty_clientTextBox _clientWidth _clientHeight _clientConfig _clientScroll_clientDetailView _clientBell_clientIgnores_clientExtensions clientBell clientConfigclientConnectionContextclientConnectionsclientDetailView clientEventsclientExtensions clientFocus clientHeight clientIgnoresclientNetworkMapclientNextConnectionId clientScrollclientSubfocus clientTextBox clientVty clientWidth clientWindowsesActive clientParkclientConnectionclientFirstLine clientLinewithClientState abortNetworkrecordChannelMessage ircIgnorablerecordIrcMessagerecordNetworkMessage clientTick consumeInputcurrentCompletionList clientMatcher urlPattern removeNetwork addConnectionapplyMessageToClientStateclientShutdownclientStartExtensionspageUppageDownjumpToActivity jumpFocus changeFocuschangeSubfocus returnFocus advanceFocus retreatFocusclientHighlightsGlirc_clear_windowGlirc_mark_seen Glirc_my_nickGlirc_list_channel_usersGlirc_list_channelsGlirc_identifier_cmpGlirc_list_networks Glirc_printGlirc_send_messageCommand CommandResultCommandSuccessCommandFailure CommandQuitexecuteexecuteUserCommandcommandExpansion tabCompletioncommandschannelInfoImagesmaskListImagesstatusLineImage textboxImageuserListImagesuserInfoImages windowsImages clientPicture eventLoopCommandArguments_cmdArgConfigFile_cmdArgInitialNetworks_cmdArgShowHelp_cmdArgShowVersioncmdArgConfigFilecmdArgInitialNetworksgetCommandArgumentscatchIOversionbindirlibdirdatadir libexecdir sysconfdir getBinDir getLibDir getDataDir getLibexecDir getSysconfDirgetDataFileNamebaseData.Semigroup SemigroupGHC.BaseMonoid$fMonoidStrictUnitmappend$fSemigroupStrictUnit<>stimes overStrict lens-4.14-Bb4ekaqwx8nBHtxVG4rt2mControl.Lens.TypeSetterControl.Lens.Setterover setStrictsetzonedTimeLocalTimeLens time-1.6.0.1Data.Time.LocalTime.LocalTime LocalTime ZonedTimelocalTimeTimeOfDay localTimeDay)config-value-0.5.1-1E424qPfAusBziuvCY4RSn Config.ValueValueSectionsListAtomNumber#text-1.2.2.1-9Yh8rJoh8fO2JMLWffT3QsData.Text.InternalText toHashMapfloatingToRatio currentLine forwardLine backwardLine_above _currentLine_below emptyLine beginLineupdateYankBuffer_content_history _historyPos _yankBuffer_lastOperation KillDirection KillForward KillBackwardhistory historyPos yankBufferdefaultNickColorPaletteString FormatState_fmtFore_fmtBack_fmtBold _fmtItalic _fmtUnderline _fmtReverseSegment TextSegmentControlSegmentfmtBackfmtBoldfmtFore fmtItalic fmtReverse fmtUnderline formatAttrdefaultFormatState parseIrcText'pSegmentpIrcLine pColorNumbersoptional applyColors mircColor rgbColor'applyControlEffect renderTimestatusMsgImage bodyImage timeImage datetimeImagerightPadvty-5.10-MUVfzdiVjl5Zv3c9NIf02Graphics.Vty.Image.InternalImage ircLineImageparseIrcTextWithNickshighlightNicks errorImage normalImage renderCapCmdseparatorImageseparatedParamsrenderReplyCode'irc-core-2.1.1.1-7ZqDtXlbnZjCBX2qhDUxAb Irc.MessageIrcMsgNothingJustmaybeFromResultremapprefixedParser allTokens skipTokenparseId filterEmpty parseReasonindentMessages cleanLineexceptionToLines'explainIOErrorexplainTLSExceptionexplainTLSErrorexplainSocksErrorGraphics.Vty.AttributesdefAttrparseAttrEntry parseStyles parseStyleparseColorNumber parseIntegerparseRgb namedColors Data.String fromStringghc-prim GHC.Classes<= replaceWith currentWord tabSearch parseChunkparseDefaulted parseVariablegetOldConfigPathdirectory-1.2.6.2System.DirectorygetAppUserDataDirectorygetNewConfigPathgetXdgDirectory XdgConfigemptyConfigFilereadFileCatchNotFoundreadConfigurationFiledefaultWindowNamesparseConfiguration parsePalette paletteHelper parseServersparseServerSettingsparseServerSetting parseNicks parseUseTlsparseNumparseIdentifier parseString parseMacroMap parseMacroparseMacroCommand'connection-0.2.6-BxlVyyngXMYHAxegKHkAmPNetwork.Connection.Types ConnectionbuildConnectionParamsircPortbuildCertificateStorebuildTlsSettingsloadClientCredentials connOutQueue connAsyncstartConnectionsendLoopircMaxMessageLength receiveLoop Irc.RawIrcMsg RawIrcMsgnoReply doWelcome Irc.Codes RPL_WELCOME doBadNickERR_NICKNAMEINUSErecordListEntrysaveList squelchReply GHC.TypesTruemassRegistration_NoTransaction_NamesTransaction_BanTransaction_WhoTransaction utf8ChunksOf overChannel overChannels applyMessage'doTopicparseTimeParamdoRpldoModedoChannelModes doMyModes supportedCapsdoAuthenticatedoCap loadNamesList createOnJoin updateMyNickisupport parseISupportupdateChanModesupdateChanPrefix parsePrefixes recordUser forgetUser renameUser forgetUser'doPong nextTokenmkPlaceholders withRawIrcMsg withCommandwithTagwithTextcontT2 TraversalwithVty Graphics.VtyVtysplitStatusMsgModes msgImportancecomputeMsgLineSigilscomputeUserSigilsrecordWindowLine toWindowLine' toWindowLinemarkSeenapplyWindowRenames scrollAmount stepFocusclientHighlightsNetwork _esActive_esMVar _esStablePtrclientPrevFocusesMVar esStablePtrwithExtensionStatenetworkChannelListchannelUserListclientStopExtensions derefToken peekFgnMsgpeekFgnStringLenglirc_send_message glirc_printglirc_list_networksglirc_identifier_cmpglirc_list_channelsglirc_list_channel_users glirc_my_nickglirc_mark_seenglirc_clear_window CommandImpl ClientCommandNetworkCommand ChatCommandChannelCommandcommandSuccesscommandFailurecommandFailureMsg executeChatexecuteCommand expandAliasescmdClearcmdMecmdCtcp cmdNoticecmdMsg chatCommand chatCommand' cmdWindows tabConnecttabFocuscmdSay cmdChannel cmdReconnect cmdReload tabReloadcomputeModeCompletionisPublicChannelModenickTabCompletionsendModerationcmdExec noClientTab noNetworkTab noChannelTabsimpleClientTabsimpleNetworkTabsimpleChannelTabcmdExitcmdQuote cmdConnectcmdFocussimpleTabCompletioncmdWhoiscmdWho cmdWhowascmdIson cmdUserhostcmdStatscmdAwaycmdLinkscmdTimecmdZnccmdZncPlaybackcmdModecmdNickcmdPart cmdInvitecommandSuccessUpdateCScmdTopictabTopiccmdUserscmdChannelInfocmdMaskscmdKick cmdKickBancomputeBanUserInfo cmdRemovecmdJoincmdQuit cmdDisconnect cmdIgnore modeCommandtabMode activeNickscommandNameCompletion useChanServ cmdExtension recordError recordSuccesscmdUrlopenUrlchannelInfoImages'maskListImages' scrollImage latencyImage infoBubble detailImage activityImage myNickImage focusImagechannelModesImageparens renderContent myWcwidthGraphics.Text.Widthwcwidth myWcswidthwcswidthrenderOtherLine renderLineuserListImages'userInfoImages'renderWindowColumns createColumns renderedFocusrenderedWindowInfoGraphics.Vty.PicturePicturemetadataWindowLine MetadataState clientImagemessagePaneImageschatMessageImages messagePanewindowLinesToImages startMetadatatransitionMetadatacontinueMetadatagatherMetadataLineslineWrap ClientEventVtyEvent TimerEventgetEventbeepdoNetworkClosedoNetworkError doNetworkLineclientResponsecomputeEffectiveTime parseZncTimelookups doVtyEventdoKeydoCommandResult doTimerEventreconnectAttemptsprocessConnectCmdreportConnectCmdError executeInputdefaultCommandArguments gitHashTxt gitDirtyTxtcmdArgShowHelpcmdArgShowVersionassembleCommandArgumentshelpTxt versionTxt