2015-05-09 09:09:40 +03:00
|
|
|
name: brick
|
|
|
|
version: 0.1
|
2015-07-08 05:43:32 +03:00
|
|
|
synopsis: A terminal user interface library
|
2015-07-08 23:39:17 +03:00
|
|
|
description: Brick is a terminal UI programming library that lets you
|
|
|
|
write declarative specifications of your terminal user
|
|
|
|
interfaces. It cleanly separates event handling and
|
|
|
|
application state management from the business of
|
|
|
|
rendering the interface.
|
2015-07-08 07:01:23 +03:00
|
|
|
.
|
|
|
|
.
|
|
|
|
To get started, import Brick.Main and use one
|
|
|
|
of the starter main alternatives ('simpleMain',
|
|
|
|
'defaultMain') or create an 'App' value and use
|
|
|
|
'customMain'. For examples, see the demo programs
|
|
|
|
in the 'programs' directory.
|
2015-05-09 09:09:40 +03:00
|
|
|
license: BSD3
|
|
|
|
license-file: LICENSE
|
2015-05-19 05:37:11 +03:00
|
|
|
author: Jonathan Daugherty <cygnus@foobox.com>
|
|
|
|
maintainer: Jonathan Daugherty <cygnus@foobox.com>
|
2015-05-09 09:09:40 +03:00
|
|
|
copyright: (c) Jonathan Daugherty 2015
|
|
|
|
category: Graphics
|
|
|
|
build-type: Simple
|
|
|
|
cabal-version: >=1.10
|
2015-07-08 08:28:51 +03:00
|
|
|
Homepage: https://.github.com/jtdaugherty/brick/
|
|
|
|
|
|
|
|
Source-Repository head
|
|
|
|
type: git
|
|
|
|
location: git://github.com/jtdaugherty/brick.git
|
2015-05-09 09:09:40 +03:00
|
|
|
|
|
|
|
library
|
|
|
|
default-language: Haskell2010
|
2015-05-19 05:36:35 +03:00
|
|
|
ghc-options: -Wall -fno-warn-unused-do-bind -O3
|
2015-05-09 09:09:40 +03:00
|
|
|
hs-source-dirs: src
|
2015-05-18 04:04:36 +03:00
|
|
|
exposed-modules:
|
2015-07-08 05:44:07 +03:00
|
|
|
Brick.AttrMap
|
|
|
|
Brick.Focus
|
|
|
|
Brick.Main
|
|
|
|
Brick.Markup
|
|
|
|
Brick.Types
|
|
|
|
Brick.Util
|
2015-06-25 06:58:34 +03:00
|
|
|
Brick.Widgets.Border
|
|
|
|
Brick.Widgets.Border.Style
|
|
|
|
Brick.Widgets.Center
|
|
|
|
Brick.Widgets.Core
|
2015-07-09 00:47:39 +03:00
|
|
|
Brick.Widgets.Dialog
|
2015-06-25 06:58:34 +03:00
|
|
|
Brick.Widgets.Edit
|
|
|
|
Brick.Widgets.List
|
2015-06-14 23:23:58 +03:00
|
|
|
Data.Text.Markup
|
2015-05-18 05:37:43 +03:00
|
|
|
other-modules:
|
2015-06-25 06:54:32 +03:00
|
|
|
Brick.Widgets.Internal
|
2015-05-18 04:04:36 +03:00
|
|
|
|
2015-07-09 21:13:21 +03:00
|
|
|
build-depends: base <= 5,
|
2015-05-09 10:45:46 +03:00
|
|
|
vty >= 5.2.9,
|
2015-05-09 19:43:40 +03:00
|
|
|
transformers,
|
2015-05-19 00:10:00 +03:00
|
|
|
data-default,
|
2015-05-26 02:33:21 +03:00
|
|
|
Diff,
|
2015-05-20 05:28:22 +03:00
|
|
|
containers,
|
2015-06-14 23:23:58 +03:00
|
|
|
lens,
|
|
|
|
vector,
|
2015-06-15 02:14:35 +03:00
|
|
|
contravariant,
|
2015-06-28 21:57:38 +03:00
|
|
|
text,
|
2015-07-10 00:32:20 +03:00
|
|
|
text-zipper,
|
2015-06-28 21:57:38 +03:00
|
|
|
template-haskell
|
2015-05-09 09:09:40 +03:00
|
|
|
|
|
|
|
executable brick
|
|
|
|
hs-source-dirs: programs
|
2015-05-19 05:36:35 +03:00
|
|
|
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
|
2015-05-09 09:09:40 +03:00
|
|
|
default-language: Haskell2010
|
|
|
|
main-is: Main.hs
|
2015-07-09 21:13:21 +03:00
|
|
|
build-depends: base <= 5,
|
2015-05-09 09:09:40 +03:00
|
|
|
brick,
|
2015-06-21 01:02:54 +03:00
|
|
|
transformers,
|
2015-05-09 19:56:14 +03:00
|
|
|
vty >= 5.2.9,
|
2015-05-11 17:55:48 +03:00
|
|
|
data-default,
|
2015-06-16 06:26:29 +03:00
|
|
|
lens,
|
|
|
|
text
|
2015-05-11 02:57:53 +03:00
|
|
|
|
2015-06-29 07:00:46 +03:00
|
|
|
Flag bench
|
|
|
|
Description: whether to build benchmarks
|
|
|
|
Default: False
|
|
|
|
|
|
|
|
executable brick-bench
|
|
|
|
hs-source-dirs: programs,src
|
|
|
|
|
|
|
|
if !flag(bench)
|
|
|
|
buildable: False
|
|
|
|
|
|
|
|
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
|
|
|
|
default-language: Haskell2010
|
|
|
|
main-is: Bench.hs
|
|
|
|
CPP-Options: -DBENCH
|
2015-07-09 21:13:21 +03:00
|
|
|
build-depends: base <= 5,
|
2015-06-29 07:00:46 +03:00
|
|
|
transformers,
|
|
|
|
vty >= 5.2.9,
|
|
|
|
data-default,
|
|
|
|
lens,
|
|
|
|
text,
|
|
|
|
criterion,
|
|
|
|
deepseq,
|
|
|
|
contravariant,
|
|
|
|
template-haskell,
|
|
|
|
containers,
|
|
|
|
vector
|
|
|
|
|
2015-07-09 21:03:48 +03:00
|
|
|
executable brick-viewport-scroll-demo
|
|
|
|
hs-source-dirs: programs
|
|
|
|
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
|
|
|
|
default-language: Haskell2010
|
|
|
|
main-is: ViewportScrollDemo.hs
|
|
|
|
build-depends: base,
|
|
|
|
brick,
|
|
|
|
vty >= 5.2.9,
|
|
|
|
data-default,
|
|
|
|
text,
|
|
|
|
lens
|
|
|
|
|
2015-07-09 00:47:39 +03:00
|
|
|
executable brick-dialog-demo
|
|
|
|
hs-source-dirs: programs
|
|
|
|
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
|
|
|
|
default-language: Haskell2010
|
|
|
|
main-is: DialogDemo.hs
|
2015-07-09 21:13:21 +03:00
|
|
|
build-depends: base <= 5,
|
2015-07-09 00:47:39 +03:00
|
|
|
brick,
|
|
|
|
vty >= 5.2.9,
|
|
|
|
data-default,
|
|
|
|
text,
|
|
|
|
lens
|
|
|
|
|
2015-07-04 01:49:33 +03:00
|
|
|
executable brick-layer-demo
|
|
|
|
hs-source-dirs: programs
|
|
|
|
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
|
|
|
|
default-language: Haskell2010
|
|
|
|
main-is: LayerDemo.hs
|
2015-07-09 21:13:21 +03:00
|
|
|
build-depends: base <= 5,
|
2015-07-04 01:49:33 +03:00
|
|
|
brick,
|
|
|
|
vty >= 5.2.9,
|
|
|
|
data-default,
|
|
|
|
text,
|
|
|
|
lens
|
|
|
|
|
2015-06-29 09:45:04 +03:00
|
|
|
executable brick-suspend-resume-demo
|
|
|
|
hs-source-dirs: programs
|
2015-07-04 01:48:46 +03:00
|
|
|
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
|
2015-06-29 09:45:04 +03:00
|
|
|
default-language: Haskell2010
|
|
|
|
main-is: SuspendAndResumeDemo.hs
|
2015-07-09 21:13:21 +03:00
|
|
|
build-depends: base <= 5,
|
2015-06-29 09:45:04 +03:00
|
|
|
brick,
|
|
|
|
vty >= 5.2.9,
|
|
|
|
data-default,
|
|
|
|
text,
|
|
|
|
lens
|
|
|
|
|
2015-06-29 09:04:27 +03:00
|
|
|
executable brick-padding-demo
|
|
|
|
hs-source-dirs: programs
|
2015-07-04 01:48:46 +03:00
|
|
|
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
|
2015-06-29 09:04:27 +03:00
|
|
|
default-language: Haskell2010
|
|
|
|
main-is: PaddingDemo.hs
|
2015-07-09 21:13:21 +03:00
|
|
|
build-depends: base <= 5,
|
2015-06-29 09:04:27 +03:00
|
|
|
brick,
|
|
|
|
vty >= 5.2.9,
|
|
|
|
data-default,
|
|
|
|
text,
|
|
|
|
lens
|
|
|
|
|
2015-06-29 08:40:25 +03:00
|
|
|
executable brick-attr-demo
|
|
|
|
hs-source-dirs: programs
|
2015-07-04 01:48:46 +03:00
|
|
|
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
|
2015-06-29 08:40:25 +03:00
|
|
|
default-language: Haskell2010
|
|
|
|
main-is: AttrDemo.hs
|
2015-07-09 21:13:21 +03:00
|
|
|
build-depends: base <= 5,
|
2015-06-29 08:40:25 +03:00
|
|
|
brick,
|
|
|
|
vty >= 5.2.9,
|
|
|
|
data-default,
|
|
|
|
text,
|
|
|
|
lens
|
|
|
|
|
2015-06-29 06:16:51 +03:00
|
|
|
executable brick-markup-demo
|
|
|
|
hs-source-dirs: programs
|
2015-07-04 01:48:46 +03:00
|
|
|
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
|
2015-06-29 06:16:51 +03:00
|
|
|
default-language: Haskell2010
|
|
|
|
main-is: MarkupDemo.hs
|
2015-07-09 21:13:21 +03:00
|
|
|
build-depends: base <= 5,
|
2015-06-29 06:16:51 +03:00
|
|
|
brick,
|
|
|
|
vty >= 5.2.9,
|
|
|
|
data-default,
|
|
|
|
text,
|
|
|
|
lens
|
|
|
|
|
2015-06-28 23:06:22 +03:00
|
|
|
executable brick-list-demo
|
|
|
|
hs-source-dirs: programs
|
2015-07-04 01:48:46 +03:00
|
|
|
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
|
2015-06-28 23:06:22 +03:00
|
|
|
default-language: Haskell2010
|
|
|
|
main-is: ListDemo.hs
|
2015-07-09 21:13:21 +03:00
|
|
|
build-depends: base <= 5,
|
2015-06-28 23:06:22 +03:00
|
|
|
brick,
|
|
|
|
vty >= 5.2.9,
|
|
|
|
data-default,
|
|
|
|
text,
|
|
|
|
lens
|
|
|
|
|
2015-06-29 08:43:52 +03:00
|
|
|
executable brick-custom-event-demo
|
2015-06-26 09:34:20 +03:00
|
|
|
hs-source-dirs: programs
|
2015-07-04 01:48:46 +03:00
|
|
|
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
|
2015-06-26 09:34:20 +03:00
|
|
|
default-language: Haskell2010
|
2015-06-29 08:43:52 +03:00
|
|
|
main-is: CustomEventDemo.hs
|
2015-07-09 21:13:21 +03:00
|
|
|
build-depends: base <= 5,
|
2015-06-26 09:34:20 +03:00
|
|
|
brick,
|
|
|
|
vty >= 5.2.9,
|
|
|
|
data-default,
|
|
|
|
text,
|
|
|
|
lens
|
|
|
|
|
2015-06-28 22:37:24 +03:00
|
|
|
executable brick-hello-world-demo
|
2015-05-19 20:23:58 +03:00
|
|
|
hs-source-dirs: programs
|
2015-07-04 01:48:46 +03:00
|
|
|
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
|
2015-05-19 20:23:58 +03:00
|
|
|
default-language: Haskell2010
|
2015-06-28 22:37:24 +03:00
|
|
|
main-is: HelloWorldDemo.hs
|
2015-07-09 21:13:21 +03:00
|
|
|
build-depends: base <= 5,
|
2015-05-19 20:23:58 +03:00
|
|
|
brick,
|
|
|
|
vty >= 5.2.9,
|
|
|
|
data-default,
|
2015-06-14 23:23:58 +03:00
|
|
|
text,
|
2015-05-19 20:23:58 +03:00
|
|
|
lens
|
|
|
|
|
2015-06-28 22:45:26 +03:00
|
|
|
executable brick-edit-demo
|
|
|
|
hs-source-dirs: programs
|
2015-07-04 01:48:46 +03:00
|
|
|
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
|
2015-06-28 22:45:26 +03:00
|
|
|
default-language: Haskell2010
|
|
|
|
main-is: EditDemo.hs
|
2015-07-09 21:13:21 +03:00
|
|
|
build-depends: base <= 5,
|
2015-06-28 22:45:26 +03:00
|
|
|
brick,
|
|
|
|
vty >= 5.2.9,
|
|
|
|
data-default,
|
|
|
|
text,
|
|
|
|
lens
|
|
|
|
|
2015-06-28 22:15:55 +03:00
|
|
|
executable brick-border-demo
|
|
|
|
hs-source-dirs: programs
|
2015-07-04 01:48:46 +03:00
|
|
|
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
|
2015-06-28 22:15:55 +03:00
|
|
|
default-language: Haskell2010
|
|
|
|
main-is: BorderDemo.hs
|
2015-07-09 21:13:21 +03:00
|
|
|
build-depends: base <= 5,
|
2015-06-28 22:15:55 +03:00
|
|
|
brick,
|
|
|
|
vty >= 5.2.9,
|
|
|
|
data-default,
|
|
|
|
text,
|
|
|
|
lens
|