Christian Rocha
|
4351c9f903
|
Cmds no longer takes a Model as an argument, CmdMap no longer needed
|
2020-04-22 10:15:04 -04:00 |
Christian Rocha
|
5612c85b72
|
Bump termenv for examples
|
2020-04-22 10:11:31 -04:00 |
Christian Rocha
|
82af5a5cb5
|
Update example modules
|
2020-02-12 17:48:32 -05:00 |
Christian Rocha
|
5b001ee17f
|
Spinner example
|
2020-02-10 16:35:29 -05:00 |
Christian Rocha
|
2e6babae9e
|
Add placeholder text to input example
|
2020-02-01 22:28:31 -05:00 |
Christian Rocha
|
5383f5a61e
|
Wrap termenv altscreen functions to make things simpler for the end user
|
2020-02-01 21:07:35 -05:00 |
Christian Rocha
|
f94701aff3
|
I think the cursor move to 1,1 is implicit via altscreen
|
2020-02-01 21:07:35 -05:00 |
Christian Muehlhaeuser
|
f382f4db4a
|
Move ansi helpers to termenv
|
2020-01-31 13:52:20 +01: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
|
8c9360ec24
|
Use local copy of Tea when building examples
|
2020-01-22 16:08:44 -08:00 |
Christian Rocha
|
1e39676087
|
Update example go.mod/sum
|
2020-01-20 11:07:04 -08:00 |
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 |