Commit Graph

215 Commits

Author SHA1 Message Date
Christian Rocha
0eaea5cc5d
Use as much terminal movement from termenv as we can 2020-06-16 14:32:00 -04:00
Christian Rocha
0243dff9d3
Remove irrelevant (and erroneous) width settings in viewport renderer 2020-06-16 14:28:01 -04:00
Christian Rocha
68ec6c7ffc
Integrate viewport navigation controls with new renderer 2020-06-15 21:22:25 -04:00
Christian Rocha
f332bf2cc2
Simplify the render's write() method and it now takes a slice of lines 2020-06-15 21:21:08 -04:00
Christian Rocha
0b19d41e0a
Broad (working) pass at viewport renderer 2020-06-15 21:21:08 -04:00
Christian Rocha
786ec557d4
Bumb Bubble Tea dependency 2020-06-15 12:02:14 -04:00
Christian Rocha
d3192a3e70
Update text input viewport scrolling to handle unicode characters 2020-06-11 21:24:41 -04:00
Christian Rocha
74cc86fce5
Use a slice of runes as the underlying textinput value 2020-06-11 18:35:18 -04:00
Christian Rocha
72fd4e3e3e
Update to latest Bubble Tea renderer + bump termenv 2020-06-08 13:06:38 -04:00
Christian Rocha
12b2758d50
Fix panic in paginator when setting total items to zero 2020-06-02 18:48:00 -04:00
Christian Rocha
87c7cd778f
Rename to Bubbles + copy over components from Bubble Tea + remove examples 2020-05-25 20:08:37 -04:00
Christian Rocha
a72bf9128d
Update spinner to use proper tea.Tick subscription 2020-05-11 17:33:28 -04:00
Christian Rocha
5179df1982
Bump dependencies 2020-05-11 17:21:14 -04:00
Christian Rocha
da64445a0e
Update subs for Tea v0.2.1. That is to say, remove the their arguments. 2020-05-04 18:54:26 -04:00
Christian Rocha
6c2e144255
Bump termenv with fix for redraws on mosh, konsole 2020-04-30 19:30:41 -04:00
Christian Rocha
7ef18ab69e
Fix a bug where text inputs with no char limit couldn't take input 2020-04-23 12:10:53 -04:00
Christian Rocha
bf2d13df66
Rename input to textinput + DefaultModel is now NewModel 2020-04-23 12:10:09 -04:00
Christian Rocha
a2ae308e68
Bump Tea dependency to v0.2.0 2020-04-23 12:04:45 -04:00
Christian Rocha
5d987f7933
Remove redundant type declaration 2020-04-22 14:29:58 -04:00
Christian Rocha
d964fbe3d7
Updates for Tea v0.2.0 2020-04-22 14:29:58 -04:00
Christian Muehlhaeuser
64c8cd27ae
Fix typo in 'placeholder' 2020-04-17 20:38:28 +02:00
Christian Muehlhaeuser
ec0559f2d5
Simplify code 2020-04-17 20:38:11 +02:00
Christian Rocha
5dd3605496
Helper function for navigating sets + comments 2020-04-09 22:18:31 -04:00
Christian Rocha
fc64be59d6
Export pagination helpers 2020-04-09 19:37:59 -04:00
Christian Rocha
363c2522f2
Helper function for paginating slices 2020-04-09 18:21:17 -04:00
Christian Rocha
2953608151
Arabic pager by default, no RTL for now 2020-04-09 18:03:34 -04:00
Christian Rocha
821de006ee
Add more keybinding options to pager 2020-04-09 16:47:32 -04:00
Christian Rocha
b931aeaf0f
Blind pass at paginator 2020-04-09 15:43:55 -04:00
Christian Rocha
ea5161af98
Add an optional character limit to text inputs 2020-04-01 20:51:56 -04:00
Christian Rocha
7ddc284804
Bump termenv to v0.5.0 2020-04-01 20:51:56 -04:00
Christian Rocha
eea5c2a32a
Add color settings to spinner 2020-03-27 14:14:02 -04:00
Christian Rocha
c9aefb2448
Bump termenv dependency 2020-03-27 12:15:28 -04:00
Christian Rocha
9225516bf4
Just set the color profile on the package level 2020-02-24 22:59:33 -05:00
Christian Rocha
f4a59f7bc3
Text color setting on input element 2020-02-24 22:43:52 -05:00
Christian Rocha
aecd5ac8e2
Update termenv and remove nil pointer workaround 2020-02-24 22:31:45 -05:00
Christian Rocha
05a2984fe2
Update dependencies 2020-02-20 10:26:41 -05:00
Christian Rocha
d6a178e176
Quick 'n dirty submit button 2020-02-20 10:18:06 -05:00
Christian Rocha
8511766df2
Highlight prompt in focused text field 2020-02-20 10:02:09 -05:00
Christian Rocha
318f47a6aa
Sort keybindings 2020-02-20 09:44:58 -05:00
Christian Rocha
2c07ebb669
Add a third input field in the inputs example 2020-02-20 09:44:39 -05:00
Christian Rocha
8129727c22
Bind to shift+tab to cycle through fields in reverse 2020-02-19 18:34:58 -05:00
Christian Rocha
a684bf4701
Property convert single character input to strings 2020-02-19 18:19:01 -05:00
Christian Rocha
692322b84c
Shift+tab cycles backwards over fields 2020-02-17 21:46:29 -05:00
Christian Rocha
577baf306d
Remove blink state when changing focus 2020-02-17 17:01:44 -05:00
Christian Rocha
f087c8260a
Use up/down to go between fields too 2020-02-17 16:31:28 -05:00
Christian Rocha
943ebe42d2
Remove nonexistant shift+tab binding 2020-02-17 16:26:17 -05:00
Christian Rocha
d2f8f9f641
Fix replace command in the example go.mod 2020-02-17 16:24:01 -05:00
Christian Rocha
68af03579a
First pass at notion of input element focus + example 2020-02-17 16:00:53 -05:00
Christian Rocha
b4d35fd529
Add a dot spinner type 2020-02-12 17:45:15 -05:00
Christian Rocha
5c5cc7bb87
Prototype a simple spinner 2020-02-10 11:40:52 -05:00