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