Commit Graph

43 Commits

Author SHA1 Message Date
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
Christian Rocha
68774581b7
Cursor color option on input field 2020-02-01 22:48:27 -05:00
Christian Rocha
d012797c69
Don't try and color placeholder text with color of "" 2020-02-01 22:42:41 -05:00
Christian Rocha
c1b503585d
Remove duplicate placeholder code 2020-02-01 22:35:46 -05:00
Christian Rocha
7b06eb538b
Fix ^E binding 2020-02-01 22:30:08 -05:00
Christian Rocha
ca91eb2e79
Add placeholder text functionality on input fields 2020-02-01 22:27:12 -05:00
Christian Muehlhaeuser
c25e6266d9
Use termenv for terminal control 2020-01-31 13:50:42 +01:00
Christian Rocha
23f5f33283
Add ^U, ^B and ^F keybindings 2020-01-29 22:29:54 -05:00
Christian Rocha
127afac006
Add ^D to delete character under cursor 2020-01-29 22:19:47 -05:00
Christian Rocha
3ac2b4881b
Fix backspace keybinding 2020-01-29 21:52:03 -05:00
Christian Rocha
86dbd03c1e
Add ^K keybinding 2020-01-29 21:51:52 -05:00
Christian Rocha
501f9cbbe1
Add ^A and ^E keybindings 2020-01-29 21:46:03 -05:00
Christian Rocha
48e19e3b0d
Add README and LICENSE 2020-01-27 21:29:52 -05:00
Christian Rocha
419df0b7a2
Check for error in subscription and update Tea dependency 2020-01-25 22:22:57 -05:00
Christian Rocha
c83a0bee59
Add input module from github.com/charmbracelet/tea 2020-01-18 10:57:38 -05:00
Christian Rocha
dc95a3f19b
Initial commit. Add .gitignore 2020-01-18 10:56:08 -05:00