Christian Muehlhaeuser
4e18245481
Add list bubble
2021-08-23 21:34:13 +02:00
Christian Muehlhaeuser
09a4cf419d
Update linter config
2021-07-12 03:10:31 +02:00
Christian Muehlhaeuser
f53c742d6c
Fix goreportcard badge
2021-05-18 20:56:27 +02:00
Christian Muehlhaeuser
9e324205c2
Bump bubbletea, termenv, reflow, go-runewidth, and go-colorful deps
2021-04-03 01:56:59 +02:00
Christian Muehlhaeuser
b2f42066a2
Drop naked returns in textinput model
...
This actually uncovered a few ineffective assignments, particularly
in deleteWordRight.
2021-03-11 20:09:32 -05:00
Christian Muehlhaeuser
a0d7cb77a1
Fix godocs for various types and functions
2021-03-12 02:06:30 +01:00
Christian Muehlhaeuser
046b9ca129
Enable golint as linter
2021-03-12 02:00:32 +01:00
Christian Muehlhaeuser
da9a4049de
Mark innocuous numbers as nolint
2021-03-12 01:47:40 +01:00
Christian Muehlhaeuser
490a599c05
Use a const for the mouse wheel delta in viewport
2021-03-12 01:33:51 +01:00
Christian Muehlhaeuser
97020cd0d2
Support Alt-Backspace to delete previous word
2020-10-27 08:50:22 +01:00
Christian Muehlhaeuser
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 Muehlhaeuser
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 Muehlhaeuser
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