The itemfield package

[Tags:bsd3, library, test]

This module provides a brick Widget that can be used with the brick package to handle situations where there are lots of items to represent to the user along with a corresponding state for each item. One example of where the itemfield would be used is if there are too many elements to reasonably show in a List widget, if those elements are divided into groups, and if some status needs to be shown for each element.

In addition, the user can use the cursor keys and space bar to mark one or more items (presumably so other code can get the list of marked elements and perform a state-changing operation).

There are two example programs built when the examples flag is True (the default): bookcase and workreport. Running these applications should give a better idea of what the itemfield widget is and how it can be used.


Change log
Dependencies base (<5.0), brick (>=0.13 && <=0.16 || >=0.17), data-default, itemfield, microlens (<0.5), microlens-th, random, text (<1.3), transformers, vty [details]
License BSD3
Copyright Kevin Quick, 2013-2017
Author Kevin Quick <>
Category Graphics, Console
Source repository head: darcs get
Uploaded Mon Feb 6 04:09:10 UTC 2017 by KevinQuick
Distributions NixOS:
Downloads 362 total (78 in the last 30 days)
0 []
Status Docs available [build log]
Last success reported on 2017-02-06 [all 1 reports]
Hackage Matrix CI




examplesBuild example programsEnabledAutomatic
brick017true for Brick version 0.17 or laterEnabledAutomatic
brick016true for Brick version 0.16 or laterEnabledAutomatic
brick015true for Brick version 0.15.xEnabledAutomatic
base48base 4.8 or laterEnabledAutomatic
base49base 4.8 or laterEnabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees