on package:brick

Build an attribute from a foreground color and a background color. Intended to be used infix.
Specify a handler for the specified key event.
Specify a handler for the specified key.
Get the components of an attribute name.
Attempts to write a value to a BChan. If the channel has room, the value is written and this returns True. Otherwise this returns False and returns immediately.
A BorderMap that tracks only the given the point (and initially maps it to the given value).
Assumes the two BorderMaps are tracking the same rectangles, but have disjoint keys. This property is not checked.
Set a form field's concatenation function.
Set a form's concatenation function.
This module provides KeyConfig and associated functions. A KeyConfig is the basis for the custom keybinding system in this library. To get started, see newKeyConfig. Once a KeyConfig has been constructed, see keyDispatcher. Since a key configuration can have keys bound to multiple events, it is the application author's responsibility to check for collisions since the nature of the collisions will depend on how the application is implemented. To check for collisions, use the result of keyEventMappings.
A configuration of custom key bindings. A KeyConfig stores everything needed to resolve a key event into one or more key bindings. Make a KeyConfig with newKeyConfig, then use it to dispatch to KeyEventHandlers with keyDispatcher. Make a new KeyConfig with newKeyConfig. A KeyConfig stores:
  • A collection of named key events, mapping the event type k to Text labels.
  • For each event k, optionally store a list of default key bindings for that event.
  • An optional customized binding list for each event, setting the event to either Unbound or providing explicit overridden bindings with BindingList.
The base mapping of events and their names that is used in this configuration.
Look up the binding state for the specified event. This returns Nothing when the event has no explicitly configured custom BindingState.
Build a KeyConfig with the specified KeyEvents event-to-name mapping, list of default bindings by event, and list of custom bindings by event.
The action to take when this handler is invoked.
The description of this handler's behavior.
The attribute for event descriptions in keybinding help Widgets.
Continue running the event loop with the specified application state without redrawing the screen. This is faster than continue because it skips the redraw, but the drawback is that you need to be really sure that you don't want a screen redraw. If your state changed in a way that needs to be reflected on the screen, just don't call this; EventM blocks default to triggering redraws when they finish executing. This function is for cases where you know that you did something that won't have an impact on the screen state and you want to save on redraw cost.
Documentation for a theme's attributes.
Apply customizations using a custom lookup function. Customizations are obtained for each attribute name in the theme. Any customizations already set are lost.