Commit Graph

308 Commits

Author SHA1 Message Date
Christian Rocha c72ee756dd
Bump Bubbles dependency to current master 2020-10-15 20:23:30 -04:00
Christian Rocha 847787e46d
Convert remaining examples to Model interface-based structure 2020-10-15 19:48:42 -04:00
Christian Rocha 7530fb0112
Update mouse example to use new Model interface-based structure 2020-10-15 16:33:37 -04:00
Christian Rocha 7507f3d805
Update views example to use new Model interface-based structure 2020-10-15 16:30:34 -04:00
Christian Rocha 816428c135
Add comment for Init() in simple example 2020-10-15 16:19:13 -04:00
Christian Rocha 7af3e0e9de
Update simple example to use new Model interface-based structure 2020-10-15 16:08:42 -04:00
Christian Rocha 26899c73b3
Init, Update and View are now methods on interface Model 2020-10-15 16:08:19 -04:00
Christian Rocha 71bd542320
Add Treilik-inspired example for sending value along on exit 2020-10-14 16:51:15 -04:00
Christian Rocha 51e97bb959
Add descriptions to example programs and bump deps in examples 2020-10-14 11:51:32 -04:00
Nikhil Prabhu a588b61db4 Fix incorrect program description comment
This commit fixes an incorrect program description comment that is actually used for the /examples/simple/main.go program.
2020-10-14 13:18:20 +00:00
Johnny Steenbergen 154df9f538 fix: small typo in url
love this library. Looking forward to working with it more 👍
2020-10-14 05:56:30 +02:00
Christian Rocha 5a67f5c276
Add Windows to build workflow 2020-10-13 22:45:55 -04:00
Christian Rocha 67f0128939
Improve reflow explantation and fix typos in README 2020-10-13 19:18:51 -04:00
Christian Rocha aaa49c4157
Update list of recommended libraries 2020-10-13 19:15:59 -04:00
Christian Rocha eb919b622f
Use containerd/console for raw mode to get arrow key support on Windows 2020-10-13 15:41:48 -04:00
Christian Rocha a85d22cf54
Handle arrows on Powershell on Unix-like systems 2020-10-13 14:42:29 -04:00
Christian Rocha 4d14af713f
Remove pkg/term dependency 2020-10-13 12:55:38 -04:00
Christian Rocha 9c9a92c349
Add Windows support 2020-10-12 23:14:55 -04:00
Christian Muehlhaeuser 7b645a9910
Remove replace declaration in go.mod for examples 2020-10-13 04:18:07 +02:00
Christian Rocha 5a26d39072
Remove replace declaration in go.mod for examples 2020-10-12 22:11:17 -04:00
Christian Rocha d1c791be98
Fix another typo in a comment 2020-10-12 10:59:36 -04:00
Christian Rocha 7efa31996d
Fix a typo in a comment 2020-10-12 10:57:06 -04:00
kiyon 780db1e32f fix typo 2020-10-12 02:34:16 +02:00
Christian Rocha e88b7192f8
Add info about Bubbles to top-ish part of the README 2020-10-10 20:20:53 -04:00
Kilian Drechsler 26477f70c0 print recovered panic message to terminal 2020-10-08 19:45:16 +00:00
Christian Rocha 3b9d076c80
Fix typo in comment 2020-10-05 14:42:09 -04:00
Christian Rocha f20aa485db
Fix typo in command tutorial 2020-10-05 13:42:19 -04:00
Christian Rocha bf7a8135e1
Update title image 2020-10-05 13:25:34 -04:00
Christian Rocha 5d2798eac9
Add example GIF 2020-10-05 12:44:47 -04:00
Christian Rocha 1dda8ac639
Color and formatting for "views" demo 2020-10-02 20:17:19 -04:00
Christian Rocha 3daa9a991b
Drop Go 1.11 from the build workflow
NB: golang/x/crypto or golang/x/sys seems to not be building on macOS anymore
2020-10-02 13:35:29 -04:00
Christian Rocha 4390b305ef
Update dependencies 2020-10-02 13:19:59 -04:00
Christian Rocha fd0fece6bf
Readme edits 2020-10-02 13:19:01 -04:00
Christian Rocha a4f26594b2
Rename MouseButton type to more accurate MouseEventType 2020-09-28 16:42:39 -04:00
Christian Rocha 591fcabdd4
Explicitly ignore io.Writer return values in renderer 2020-09-28 16:28:40 -04:00
Christian Rocha fb48e03639
Gracefully recover from panics (but still print stack traces) by default 2020-09-21 13:14:24 -04:00
Christian Muehlhaeuser 4609b8afd9
Fix link to basics tutorial 2020-09-21 15:45:22 +02:00
Christian Rocha 6e65d34a58
Bump tutorial dependencies 2020-08-26 15:41:05 -04:00
Christian Rocha 5d94164456
Improve a comment in the command tutorial 2020-08-26 15:39:30 -04:00
Christian Rocha 8515087899
De-indent code blocks in the command tutorial 2020-08-26 15:29:52 -04:00
Christian Rocha 70e94cffae
Error msg should be a struct in command tutorial, not a generic error 2020-08-26 15:28:18 -04:00
Christian Rocha a2a85d3c73
De-indent code blocks in the tutorial 2020-08-26 15:12:33 -04:00
Christian Rocha 118f2da75c
Improve basics readme and fix some typos 2020-08-26 15:09:41 -04:00
Christian Rocha 5e623ecad1
Put basics tutorial in the README 2020-08-26 14:58:17 -04:00
Christian Rocha 223519f81f
Add periods after comments to make the godoc linter happy. 2020-08-24 15:22:04 -04:00
Christian Muehlhaeuser 88c1f65e7c
Add linter workflow and update build workflow 2020-08-24 15:51:44 +02:00
Christian Muehlhaeuser 0357859c8b
Add golangci config 2020-08-24 15:45:04 +02:00
Christian Rocha 8f69da6ba0
Udpate Termenv to 0.7.2 2020-08-22 11:23:25 -04:00
Christian Muehlhaeuser fe3fd09b7b
Update gitignore 2020-08-22 12:35:17 +02:00
Christian Muehlhaeuser d26cfb6b38
Make golint happy 2020-08-22 12:34:03 +02:00