on develop help sign in
Update example; Add welcome gif
d72fe5fAli Abrar
doc/welcome.gifnew file

Binary file not shown.

reflex-vty.cabal+5−1
@@ -1,7 +1,10 @@
1name: reflex-vty
1name: reflex-vty
2version: 0.1.0.0
2version: 0.1.0.0
3synopsis: Reflex FRP host and widgets for vty applications
3synopsis: Reflex FRP host and widgets for vty applications
4+description:
4−description: Host and widget library for Reflex-based FRP applications
5+ Host and widget library for Reflex-based FRP applications
6+ .
7+ <<./doc/welcome.gif>>
5license: BSD3
8license: BSD3
6license-file: LICENSE
9license-file: LICENSE
7author: Obsidian Systems LLC
10author: Obsidian Systems LLC
@@ -9,6 +12,7 @@ maintainer: maintainer@obsidian.systems
9category: FRP
12category: FRP
10build-type: Simple
13build-type: Simple
11cabal-version: >=1.10
14cabal-version: >=1.10
15+extra-doc-files: doc/welcome.gif
12
16
13library
17library
14 exposed-modules: Reflex.Vty
18 exposed-modules: Reflex.Vty
src-bin/example.hs+1−1
@@ -65,7 +65,7 @@ taskList
65taskList = do
65taskList = do
66 let btn = textButtonStatic def "Add another task"
66 let btn = textButtonStatic def "Add another task"
67 inp <- input
67 inp <- input
68− rec let todos' = todos [Todo "First" True, Todo "Second" False, Todo "Third" False] $ leftmost
68+ rec let todos' = todos [Todo "Find reflex-vty" True, Todo "Become functional reactive" False, Todo "Make vty apps" False] $ leftmost
69 [ () <$ e
69 [ () <$ e
70 , fforMaybe inp $ \case
70 , fforMaybe inp $ \case
71 V.EvKey V.KEnter [] -> Just ()
71 V.EvKey V.KEnter [] -> Just ()
src/Reflex/Vty.hs+3
@@ -6,6 +6,9 @@ License : GPL-3
6Maintainer : maintainer@obsidian.systems
6Maintainer : maintainer@obsidian.systems
7Stability : experimental
7Stability : experimental
8Portability : POSIX
8Portability : POSIX
9+
10+<<./doc/welcome.gif>>
11+
9-}
12-}
10module Reflex.Vty
13module Reflex.Vty
11 ( module Reflex
14 ( module Reflex