@hackage itemfield1.2.3.0

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

  • Installation

  • Dependencies (0)

  • Dependents (0)

  • Package Flags

      examples
       (on by default)

      Build example programs

      brick016
       (on by default)

      true for Brick version 0.16 or later

      brick015
       (on by default)

      true for Brick version 0.15.x

      base48
       (on by default)

      base 4.8 or later

      base49
       (on by default)

      base 4.8 or later

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