Commit Graph

15 Commits

Author SHA1 Message Date
Christian Rocha
e1d4a14345 Commands should probably receive the model as an arg, right? 2020-01-20 10:35:03 -08:00
Christian Rocha
5156905c3e Add HTTP example demonstrating I/O 2020-01-19 19:52:28 -08: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
068c7291fb Document simple example to hopefully explain how things work 2020-01-18 11:44:28 -05:00
Christian Rocha
768462afb3 Update tea imports in examples 2020-01-18 11:15:55 -05:00
Christian Rocha
1695d9682b Remove input module (moved to another repo) and update input example
The input module is now in github.com/charmbracelet/teaparty/input
2020-01-18 11:04:09 -05:00
Christian Rocha
d976902768 Okay, I think that's how error handling should work 2020-01-18 10:27:02 -05:00
Christian Rocha
4b64a7cbde Blink cursor 2020-01-17 23:27:54 -05:00
Christian Rocha
d8b3dcd05f First pass at text input 2020-01-17 22:21:51 -05:00
Christian Rocha
208f421470 Refactor the keybinding stuff + add backspace 2020-01-17 20:46:34 -05:00
Christian Rocha
4f42c502ed Fullscreen mode via altscreen + fullscreen example 2020-01-17 15:37:04 -05:00
Christian Rocha
c1b4d6a515 Remove an extraneous argument and auto-add a trailing newline to views 2020-01-16 14:47:44 -05:00
Christian Rocha
fe42b5c4a7 Clear necessary lines before rendering 2020-01-15 22:41:45 -05:00
Christian Rocha
c15b863c39 Add simple, minimal example 2020-01-15 16:44:11 -05:00
Christian Rocha
7f3506eedc Whoops, fix framerate in example so it running at 60fps 2020-01-15 16:06:14 -05:00