Commit Graph

69 Commits

Author SHA1 Message Date
Christian Muehlhaeuser 82e641ef63
go mod tidy 2020-08-22 12:33:48 +02:00
Christian Muehlhaeuser fdd1007b27
Fix fullscreen example 2020-08-22 12:32:12 +02:00
Christian Rocha e202d499a5
Cleanup textinputs example 2020-07-30 12:40:37 -04:00
Christian Rocha 43bcbfc84b
Clean up 'views' example 2020-07-30 12:32:24 -04:00
Christian Rocha a784aa32ca
Bump bubbles in examples and remove NewModel function in pager example 2020-07-29 20:07:26 -04:00
Christian Rocha 6d919a9213
Bump termenv in example 2020-07-29 20:07:26 -04:00
Christian Rocha fe15629c9a
Bump bubbles dependency in examples 2020-07-23 12:48:22 -04:00
Christian Rocha 97ae9c6974
Update spinner example for Bubbles 0.4.0 2020-07-14 18:31:55 -04:00
Christian Rocha 8d26b4ebd7
Use mouse consts in termenv 2020-06-25 12:42:31 -04:00
Christian Rocha de147c5061
Add mouse wheel support to pager example 2020-06-23 12:01:23 -04:00
Christian Rocha d86cb562f0
Add basic mouse support 2020-06-22 20:41:26 -04:00
Christian Rocha 719d246edd
Bump dependencies 2020-06-22 13:54:16 -04:00
Christian Rocha 673752658f
Comments and cleanup 2020-06-22 13:40:32 -04:00
Christian Rocha 468b98d2eb
Comments in the pager example 2020-06-19 13:22:08 -04:00
Christian Rocha 9cf57efe5f
Fix pager footer positioning 2020-06-19 12:29:59 -04:00
Christian Rocha 603eaa27a6
Update pager example to use high performance renderer 2020-06-18 21:09:08 -04:00
Christian Rocha 8e616c4c0c
Just listen for tea.WindowSizeMsg to get terminal dimensions 2020-06-18 13:54:12 -04:00
Christian Rocha 116ab34eb8
Sync pager viewport when starting up and resizing 2020-06-18 12:33:58 -04:00
Christian Rocha 2110a923ab
Use high performance rendering in pager example 2020-06-17 19:43:33 -04:00
Christian Rocha 4d68ed07ef
Add header and footer to pager example 2020-06-17 15:00:13 -04:00
Christian Rocha 217c506a49
Add logging option in simple example 2020-06-16 22:32:06 -04:00
Christian Rocha 87434a2569
Buffer/ticker-based renderer 2020-06-08 12:48:57 -04:00
Christian Rocha 4ce9b4ea83
Fix broken logic in original "views" example 2020-06-05 14:12:02 -04:00
Christian Rocha e79ee747c9
Fix import in simple example 2020-05-27 14:47:31 -04:00
Christian Rocha 847c8b88a0
Implement resize handling in pager example 2020-05-26 09:53:15 -04:00
Christian Rocha 845a269706
Update pager example with resize listening + log to file 2020-05-25 20:24:17 -04:00
Christian Rocha 40332a36b3
Migrate components over to github.com/charmbracelet/bubbles 2020-05-25 20:10:15 -04:00
Christian Rocha 3b8b011b5a
Rename to Bubble Tea (with the import name tea) 2020-05-25 19:48:36 -04:00
Christian Rocha 200891b022
Update dependencies in examples 2020-05-25 14:22:32 -04:00
Christian Rocha 6ceafa032c
Text input value getter/setter + cursor movement methods 2020-05-20 16:12:14 -04:00
Christian Rocha 25f8b8c99b
Simplify pager component and fix pager example 2020-05-15 16:08:58 -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 4bf40fbe62
Rename project to Boba 2020-05-12 16:39:08 -04:00
Christian Rocha b6eeef2127
Pager example 2020-05-11 23:07:45 -04:00
Christian Rocha 88e4df4055
Update spinner example so it works with the spinner version in master 2020-05-11 17:38:05 -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 dada718393
Fix and improve spinner example 2020-05-04 18:33:17 -04:00
Christian Rocha 39ec5b5233
Bump termenv with fix for redraws on mosh, konsole 2020-04-30 19:29:59 -04:00
Christian Rocha f93b752fcc
Remove ErrMsg and ModelAssertionErr 2020-04-22 11:00:30 -04:00
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