17 Commits
Author SHA1 Message Date
Christian Muehlhaeuser 34cd93d6b5 Add Button component 2020-10-30 08:31:16 +01:00
Christian Muehlhaeuser 97020cd0d2 Support Alt-Backspace to delete previous word 2020-10-27 08:50:22 +01:00
Christian MuehlhaeuserandChristian Rocha f58fead10d Support Ctrl-W and Alt-D to delete words left/right of cursor
Ctrl-W: deletes word left of cursor
Alt-D: deletes word right of cursor
2020-10-25 14:52:16 -04:00
Christian Muehlhaeuser 4445acbace Use the same badge order as in our other repos 2020-10-24 08:43:30 +02:00
Christian Muehlhaeuser bd161e8ded Add release badge to README 2020-10-24 08:39:00 +02:00
Christian Muehlhaeuser d9716a97f6 Fix link to example in README 2020-10-24 08:36:29 +02:00
Christian MuehlhaeuserandChristian Rocha a0fe547fdb Make textinput cursor visible whenever it changes its position
This improves the UX because you never lose track of the cursor
moving around while it's currently hidden.
2020-10-24 00:12:27 -04:00
Christian Muehlhaeuser 1cb36774ed Split up workflows and automatically pick latest Go version 2020-10-23 13:18:52 +02:00
Christian MuehlhaeuserandGitHub 83b6a2205f Add an EchoMode and EchoCharacter property to textinputs (#11)
EchoModes are:

- EchoNormal, displays text as is
- EchoPassword, displays EchoCharacter mask instead of actual characters
- EchoNone, displays nothing

Note that EchoOnEdit, which should displays character as they are entered and is otherwise identical to EchoPassword, is not yet implemented.
2020-10-21 18:17:41 -04:00
Christian Muehlhaeuser 3a65be950a Remove release badge from README 2020-10-19 06:20:37 +02:00
Christian Muehlhaeuser 2dd6e0c80b Update README badges 2020-10-19 06:19:24 +02:00
Christian Muehlhaeuser 1e50e6d291 Add GitHub workflows 2020-10-19 06:16:01 +02:00
Christian Muehlhaeuser f78a02cc29 Avoid unnecessary conversions 2020-08-22 12:41:37 +02:00
Christian Muehlhaeuser 9a4fbb3be1 Make golint happy 2020-08-22 12:41:09 +02: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 Muehlhaeuser c25e6266d9 Use termenv for terminal control 2020-01-31 13:50:42 +01:00