itemfield: A brick Widget for selectable summary of many elements on a terminal

[ bsd3, console, graphics, library ] [ Propose Tags ]

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. In addition, the user should be able to 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).

  • 0.1.0.0 -- initial version

  • 0.2.0.0 -- more key events: Shift+Arrow to mark/unmark with move

  • 0.2.0.1 -- more key events: G=toggle group, A=toggle all, !=mrk bad; add helpMsg

  • 0.3.0.0 -- rename from StateFieldSelector to ItemField

  • 0.3.1.0 -- add + key selector to select all successful targets

  • 1.0.0.0 -- update from vty-ui to brick

  • 1.1.0.0 -- add support for s and f keys and mouse events

  • 1.2.0.0 -- intermediary state is Pending

  • 1.2.1.0 -- added compatibility for older distributions

  • 1.2.2.0 -- added compatibility for GHC7.10

  • 1.2.2.1 -- added stack.yaml for using itemfield with stack

  • 1.2.3.0 -- added brick 0.16 compatibility

Modules

[Last Documentation]

  • TextUI
    • TextUI.ItemField

Flags

Automatic Flags
NameDescriptionDefault
examples

Build example programs

Enabled
brick016

true for Brick version 0.16 or later

Enabled
brick015

true for Brick version 0.15.x

Enabled
base48

base 4.8 or later

Enabled
base49

base 4.8 or later

Enabled

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

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.1.0.1, 1.1.0.2, 1.2.0.0, 1.2.1.0, 1.2.2.0, 1.2.2.1, 1.2.3.0, 1.2.4.0, 1.2.4.1, 1.2.4.2, 1.2.5.0
Dependencies base (<5.0), brick (>=0.13), data-default, itemfield, microlens (<0.5), microlens-th, random, text (<1.3), transformers, vty [details]
License BSD-3-Clause
Copyright Kevin Quick, 2013-2017
Author Kevin Quick <quick@sparq.org>
Maintainer quick@sparq.org
Category Graphics, Console
Source repo head: darcs get http://hub.darcs.net/kquick/itemfield
Uploaded by KevinQuick at 2017-01-27T05:14:07Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables workreport, bookcase
Downloads 7151 total (24 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2017-01-27 [all 3 reports]