From f739cffaf809728af5222516d5131cf392ac7cba Mon Sep 17 00:00:00 2001 From: Chris Penner Date: Wed, 13 Feb 2019 20:41:37 +0100 Subject: [PATCH 1/4] Add brick-filetree to README --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 1cc83a3..eba6582 100644 --- a/README.md +++ b/README.md @@ -113,6 +113,13 @@ Feature Overview * Type-safe, validated input form API (see the `Brick.Forms` module) * A filesystem browser for file and directory selection * Borders can be configured to automatically connect! + +Additional Packages +------------------- + +The following packages contain additional functionality which extends `brick` + + * [`brick-filetree`](https://github.com/ChrisPenner/brick-filetree) [[Hackage]](http://hackage.haskell.org/package/brick-filetree) - Interactively explore a file tree selecting or flagging files and directories Brick-Users Discussion ---------------------- From ed8a92b2c1dbffd920145ee95e853a035ee666ed Mon Sep 17 00:00:00 2001 From: Jonathan Daugherty Date: Thu, 14 Feb 2019 08:34:32 -0800 Subject: [PATCH 2/4] README: edits --- README.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index eba6582..4771da5 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,10 @@ at these projects: * `solitaire`, the card game: https://github.com/ambuc/solitaire * `sudoku-tui`, a Sudoku implementation: https://github.com/evanrelf/sudoku-tui +These third-party packages also extend `brick`: + + * [`brick-filetree`](https://github.com/ChrisPenner/brick-filetree) [[Hackage]](http://hackage.haskell.org/package/brick-filetree) - Interactively explore a file tree selecting or flagging files and directories + Getting Started --------------- @@ -114,13 +118,6 @@ Feature Overview * A filesystem browser for file and directory selection * Borders can be configured to automatically connect! -Additional Packages -------------------- - -The following packages contain additional functionality which extends `brick` - - * [`brick-filetree`](https://github.com/ChrisPenner/brick-filetree) [[Hackage]](http://hackage.haskell.org/package/brick-filetree) - Interactively explore a file tree selecting or flagging files and directories - Brick-Users Discussion ---------------------- From 6dff03fced7334a88b0e086d665cf5886837210f Mon Sep 17 00:00:00 2001 From: Jonathan Daugherty Date: Thu, 14 Feb 2019 08:35:50 -0800 Subject: [PATCH 3/4] README: edits --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4771da5..716b882 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ at these projects: These third-party packages also extend `brick`: - * [`brick-filetree`](https://github.com/ChrisPenner/brick-filetree) [[Hackage]](http://hackage.haskell.org/package/brick-filetree) - Interactively explore a file tree selecting or flagging files and directories + * [`brick-filetree`](https://github.com/ChrisPenner/brick-filetree) [[Hackage]](http://hackage.haskell.org/package/brick-filetree) - A widget for exploring a directory tree and selecting or flagging files and directories Getting Started --------------- From a75b977623f6ff67d9acafb45648580518467396 Mon Sep 17 00:00:00 2001 From: Jonathan Daugherty Date: Sun, 24 Feb 2019 08:44:13 -0800 Subject: [PATCH 4/4] README: edits --- README.md | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 716b882..c7094c6 100644 --- a/README.md +++ b/README.md @@ -1,29 +1,19 @@ ![](logo/brick-final-clearbg-with-text.svg) -`brick` is a Haskell terminal user interface programming library in the -style of [gloss](http://hackage.haskell.org/package/gloss). This means -you write a function that describes how your user interface should look, -but the library takes care of a lot of the book-keeping that so commonly -goes into writing such programs. +`brick` is a Haskell terminal user interface (TUI) programming toolkit. +To use it, you write a pure function that describes how your user +interface should look based on your current application state and you +provide a state transformation function to handle events. `brick` exposes a declarative API. Unlike most GUI toolkits which require you to write a long and tedious sequence of "create a widget, now bind an event handler", `brick` just requires you to describe your -interface using a set of declarative combinators. Then you provide a -function to transform your application state when input or other kinds -of events arrive. +interface using a set of declarative layout combinators. Under the hood, this library builds upon [vty](http://hackage.haskell.org/package/vty), so some knowledge of Vty will be helpful in using this library. -Release Announcements / News ----------------------------- - -Find out about `brick` releases and other news on Twitter: - -https://twitter.com/brick_haskell/ - Example ------- @@ -75,6 +65,13 @@ These third-party packages also extend `brick`: * [`brick-filetree`](https://github.com/ChrisPenner/brick-filetree) [[Hackage]](http://hackage.haskell.org/package/brick-filetree) - A widget for exploring a directory tree and selecting or flagging files and directories +Release Announcements / News +---------------------------- + +Find out about `brick` releases and other news on Twitter: + +https://twitter.com/brick_haskell/ + Getting Started ---------------