Commit Graph

227 Commits

Author SHA1 Message Date
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