Commit Graph
165 Commits
Author SHA1 Message Date
Richard CooperandChristian Rocha 65a17d039e length field changed to width 2020-12-01 17:03:48 -05:00
ololosha228andChristian Rocha 38d59517fb Added progress bar 2020-12-01 17:03:48 -05:00
Christian RochaandGitHub 06109f45ce Add Bubbles title treatment to README 2020-11-19 19:11:24 -05:00
Christian RochaandChristian Rocha 9cb8e8d90a Remove spaces after emoji spinners v0.7.5 2020-11-11 15:39:42 -05:00
Christian RochaandChristian Rocha e6219572e5 Add points spinner 2020-11-11 15:39:42 -05:00
Christian RochaandChristian Rocha 81feaacf5b Remove bit8 spinner 2020-11-11 15:39:42 -05:00
Christian RochaandChristian Rocha 9a25d8b8b9 Add pulse spinner 2020-11-11 15:39:42 -05:00
Christian RochaandChristian Rocha e8e052c64b Add mini dot spinner 2020-11-11 15:39:42 -05:00
Christian RochaandChristian Rocha 3d7cd43046 Rework Spinner so that default spinners have FPS built-in 2020-11-11 15:39:42 -05:00
Christian RochaandChristian Rocha 9c38e101d2 Remove internal msg in spinner so all tick msgs can be caught externally 2020-11-10 15:44:42 -05:00
Christian RochaandChristian Rocha 84f7b047bb Make Viewport more idomatic BubbleTea (per v0.12.x) v0.7.4 2020-11-08 21:20:15 -05:00
Christian RochaandChristian Rocha 9e1e435bba Make Spinner more idomatic Bubble Tea (per v0.12.x) 2020-11-08 21:20:15 -05:00
Christian RochaandChristian Rocha 0fd072ddcc Make Paginator more idomatic Bubble Tea (per v0.12.x) 2020-11-08 21:20:15 -05:00
ololosha228andChristian Muehlhaeuser a07ab1d6af Added more spinners 2020-11-04 14:48:03 +01:00
Christian Rocha 8e49ee609e Bump Bubble Tea dependency to v0.12.2 2020-11-02 10:24:20 -05:00
Christian RochaandChristian Rocha d02641f6b5 Update textinput for multi-char (IME) input in Bubble Tea master v0.7.3 2020-11-01 09:11:18 -05:00
Christian Rocha 9b47f26bdd Doc and logic corrections per the linter 2020-10-28 21:27:15 -04:00
Christian Rocha 9c780011ff Underpinnings for always-on and always-hidden cursor modes 2020-10-28 21:27:15 -04:00
Christian Rocha 8148e61443 Correct ^F/^B keybindings for forward/back cursor movement 2020-10-28 21:27:15 -04:00
Christian Rocha ce7d8da084 Fix lock-up that could occur with cursor blinking
Note that to do this we've replaced the blink timer with a context.
2020-10-28 21:27:15 -04:00
Christian Rocha d14fdf585c Textinput Update and View functions are now methods on the model 2020-10-28 21:27:15 -04:00
Christian Rocha bf7719e6c1 Handle paste via command/message since it's IO 2020-10-28 21:27:15 -04:00
Christian Rocha 1b530b293c Reset blink timer when moving the cursor 2020-10-28 21:27:15 -04:00
Nicolas MartinandChristian Rocha 7d1c04164e Return the value of paginator.TotalPages in SetTotalPages...
when the given number of items is below 1.
v0.7.2
2020-10-28 10:40:23 -04:00
Christian Muehlhaeuser 97020cd0d2 Support Alt-Backspace to delete previous word 2020-10-27 08:50:22 +01:00
Christian RochaandChristian Rocha 5dbcf95877 Fix situation where short viewports would panic (closes #20) 2020-10-25 15:21:49 -04: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 RochaandChristian Rocha 703de11da4 Fix regression where cursor was misplaced after a paste 2020-10-24 19:51:13 -04:00
Christian RochaandChristian Rocha 03461d6804 Fix panic when pasting into a textinput with no char limit 2020-10-24 19:51:13 -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 RochaandChristian Rocha bdd909a5d7 Textinput: bind home/end and fix behavior of delete key v0.7.1 2020-10-22 15:36:54 -04:00
Will BradleyandChristian Rocha b08b3efa02 add a couple alternate key bindings to make the scrolling slightly more intuitive 2020-10-21 22:54:58 -04: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 RochaandGitHub c06af8962d Update footer in README 2020-10-20 10:17:26 -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
John DiegoandChristian Muehlhaeuser 573f90a876 Fix typo 2020-10-19 06:02:37 +02:00
Christian Rocha a498b857d6 Update paginator for bubbletea 0.12.0 v0.7.0 2020-10-16 14:36:08 -04:00
Christian Rocha 82097a1c79 Remove unused function 2020-10-16 11:54:44 -04:00
Christian Rocha a8ec421800 Update bubbletea and termenv dependencies 2020-10-16 11:54:00 -04:00
Christian Rocha 9c10cd0586 Remove unused ErrMsg type from textinput module 2020-10-15 18:52:36 -04:00
Christian Rocha 154f3763f7 textinput.View can just accept a textinput.Model argument 2020-10-15 18:43:08 -04:00
Christian Rocha eff931bdea Remove replace directive for bubbletea in go.mod 2020-10-12 22:15:02 -04:00
Christian Rocha 0d7b3ed8e8 Fix URLs to Charm and Glow in README 2020-10-06 13:25:46 -04:00
Christian Rocha cbafae84f9 Update mouse wheel stuff in paginator per last-minute Bubble Tea API change v0.6.1 2020-10-06 12:29:18 -04:00