Maas Lalani
d20732aaea
docs: add examples/gifs locally to repository
2022-10-03 15:07:28 -04:00
Maas Lalani
70576bc9e0
examples/README.md GIFs ( #470 )
...
* docs(examples): Add `examples/README.md`
Adds `examples/README.md` with GIFs of examples
* docs(examples): Individual READMEs
* docs(examples): add short description to each example
2022-10-03 12:06:18 -04:00
Christian Rocha
1a0beff868
chore: use go 1.16 ( #449 )
...
* chore: use go 1.16 and gofmt accordingly
* chore: also update examples and tuts to go 1.16
2022-09-14 19:08:36 -04:00
Christian Muehlhaeuser
7c939e8dfb
Use termenv's EnvColorProfile, which respects NO_COLOR and CLICOLOR_FORCE env vars
2022-02-06 04:24:31 +01:00
Christian Muehlhaeuser
b6c7f93d9a
Fix various typos in examples
2021-03-12 02:16:41 +01:00
Christian Rocha
df0da42954
Add progressbar example
2021-01-12 18:13:29 -05:00
Christian Rocha
7507f3d805
Update views example to use new Model interface-based structure
2020-10-15 16:30:34 -04:00
Christian Rocha
51e97bb959
Add descriptions to example programs and bump deps in examples
2020-10-14 11:51:32 -04:00
Christian Rocha
1dda8ac639
Color and formatting for "views" demo
2020-10-02 20:17:19 -04:00
Christian Rocha
43bcbfc84b
Clean up 'views' example
2020-07-30 12:32:24 -04:00
Christian Rocha
4ce9b4ea83
Fix broken logic in original "views" example
2020-06-05 14:12:02 -04:00
Christian Rocha
3b8b011b5a
Rename to Bubble Tea (with the import name tea)
2020-05-25 19:48:36 -04:00
Christian Rocha
ade8203c21
Remove entire subscription model
...
It was a valiant effort, and the implementation was solid and
dependable, but at the end of the day we can achieve the same
functionality in a much simpler fashion with commands, especially
because Go is not held to the same restrictions as Elm.
2020-05-12 18:00:50 -04:00
Christian Rocha
82ddbb8e12
Move components over and update examples
2020-05-12 17:06:00 -04:00
Christian Rocha
d503d5dbf6
Every sends the time at which the timer ticked
2020-05-05 14:26:06 -04:00
Christian Rocha
ac67237eab
Add 'Every' subscription for ticking with the system clock
2020-05-05 13:38:46 -04:00
Christian Rocha
b50ee76165
Subs shouldn't take a model as an argument
...
This also nullifies the need for SubMap
2020-05-04 18:52:44 -04:00
Christian Rocha
91271cacab
Fill out constants and strings for control keys
2020-01-26 16:46:30 -05:00
Christian Rocha
651b881a02
Update examples to use new subscription model
2020-01-25 21:28:16 -05:00
Christian Rocha
6a0489592f
Programs should take an init type/function as the first argument
...
This is in line with the way Elm works. Also update examples.
2020-01-18 22:22:04 -05:00
Christian Rocha
768462afb3
Update tea imports in examples
2020-01-18 11:15:55 -05:00
Christian Rocha
208f421470
Refactor the keybinding stuff + add backspace
2020-01-17 20:46:34 -05:00
Christian Rocha
fe42b5c4a7
Clear necessary lines before rendering
2020-01-15 22:41:45 -05:00
Christian Rocha
7f3506eedc
Whoops, fix framerate in example so it running at 60fps
2020-01-15 16:06:14 -05:00