Commit Graph
37 Commits
Author SHA1 Message Date
Christian Muehlhaeuser 99593d6630 Proposal: provide tea.Context when initializing bubbles
This is a breaking API change as it changes the bubbles API.
2024-02-21 13:02:05 +01:00
Christian MuehlhaeuserandMaas Lalani d98bf9db0a fix(textarea): correctly trim incoming paste 2024-01-28 12:11:46 -05:00
Christian Muehlhaeuser 925e5bd8ea chore: disable dependabot timer 2022-11-18 02:11:00 +01:00
Christian Muehlhaeuser 0474e129b8 docs: picture tag is causing display issues 2022-10-25 03:23:29 +02:00
Christian Muehlhaeuser 405c3adc42 docs: new readme footer 2022-10-24 10:23:47 +02:00
Christian Muehlhaeuser 4ae575a4c5 chore: use latest gofmt 2022-09-26 08:13:03 +02:00
Christian Muehlhaeuser bd074d2dbc ci: add separate sets of hard- and soft-enforced linters 2022-09-26 08:13:03 +02:00
Christian Muehlhaeuser 18909edafc chore: add dependabot config 2022-09-26 08:02:50 +02:00
Christian Muehlhaeuser 200f95759b Fix key binding documentation
Fixes #105.
2022-01-24 15:09:43 +01:00
Christian Muehlhaeuser d987ef84f2 Fix list description in README 2021-08-23 23:30:54 +02:00
Christian Muehlhaeuser cb52746b97 Fix typos 2021-08-23 23:15:21 +02:00
Christian Muehlhaeuser 985ffcb319 Bump bubbletea, lipgloss, reflow, termenv deps 2021-08-23 21:45:01 +02:00
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 MuehlhaeuserandChristian Rocha 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 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