Commit Graph

  • 7e5ef42924 Add ability to style percentage readout Christian Rocha 2020-11-18 18:49:26 -05:00
  • 79ca4d09d1 Fix doc comments and remove magic number Christian Rocha 2020-11-18 18:38:34 -05:00
  • f48e53556a Return an error if we could not initialize a new gradient ramp Christian Rocha 2020-11-18 18:33:45 -05:00
  • 5d6d8cb0fb Add functional argument for setting the width of the progress bar Christian Rocha 2020-11-18 18:26:30 -05:00
  • 47b8d9c6a8 Doc comments, optimizations, and magic number removal Christian Rocha 2020-11-18 18:17:27 -05:00
  • b78277e7ec Add progress bar example Christian Rocha 2020-11-18 18:05:22 -05:00
  • 6a768905a6 Add initialization options for scaled ramps Christian Rocha 2020-11-18 18:04:06 -05:00
  • 0f06d78b92 Support for solid (non-gradient) fills too Christian Rocha 2020-11-18 17:47:58 -05:00
  • 1e16eca939 Set ramp in NewModel via functional argument Christian Rocha 2020-11-18 16:20:00 -05:00
  • d81e5713d4 Cache termenv color profile lookup Christian Rocha 2020-11-18 15:59:10 -05:00
  • b10dbcb4dd Add option to show percent Christian Rocha 2020-11-18 14:27:41 -05:00
  • a2e0a2e72e Remove initial width argument; add default width Christian Rocha 2020-11-18 14:06:05 -05:00
  • 3dea7d036e Reduce progress component to (more or less) a pure view function Christian Rocha 2020-11-18 14:00:02 -05:00
  • 68e87e08c5 gofmt-ed last commit Richard Cooper 2020-11-05 21:56:15 +03:00
  • 65a17d039e length field changed to width Richard Cooper 2020-11-05 14:41:53 +03:00
  • 38d59517fb Added progress bar ololosha228 2020-11-04 16:42:44 +03:00
  • 06109f45ce Add Bubbles title treatment to README Christian Rocha 2020-11-19 19:11:24 -05:00
  • 9cb8e8d90a Remove spaces after emoji spinners v0.7.5 Christian Rocha 2020-11-11 14:19:54 -05:00
  • e6219572e5 Add points spinner Christian Rocha 2020-11-11 12:19:37 -05:00
  • 81feaacf5b Remove bit8 spinner Christian Rocha 2020-11-11 12:06:03 -05:00
  • 9a25d8b8b9 Add pulse spinner Christian Rocha 2020-11-11 12:05:41 -05:00
  • e8e052c64b Add mini dot spinner Christian Rocha 2020-11-11 11:59:06 -05:00
  • 3d7cd43046 Rework Spinner so that default spinners have FPS built-in Christian Rocha 2020-11-11 11:48:47 -05:00
  • 9c38e101d2 Remove internal msg in spinner so all tick msgs can be caught externally Christian Rocha 2020-11-09 20:39:04 -05:00
  • 84f7b047bb Make Viewport more idomatic BubbleTea (per v0.12.x) v0.7.4 Christian Rocha 2020-10-27 16:41:01 -04:00
  • 9e1e435bba Make Spinner more idomatic Bubble Tea (per v0.12.x) Christian Rocha 2020-10-27 16:36:29 -04:00
  • 0fd072ddcc Make Paginator more idomatic Bubble Tea (per v0.12.x) Christian Rocha 2020-10-27 16:30:01 -04:00
  • a07ab1d6af Added more spinners ololosha228 2020-11-04 16:37:49 +03:00
  • 8e49ee609e Bump Bubble Tea dependency to v0.12.2 Christian Rocha 2020-11-02 10:24:20 -05:00
  • d02641f6b5 Update textinput for multi-char (IME) input in Bubble Tea master v0.7.3 Christian Rocha 2020-10-30 23:38:36 -04:00
  • 2e2a7eccb7 Add vertical layout layouts Christian Muehlhaeuser 2020-10-30 13:01:48 +01:00
  • 34cd93d6b5 Add Button component button Christian Muehlhaeuser 2020-10-30 08:29:45 +01:00
  • 9b47f26bdd Doc and logic corrections per the linter Christian Rocha 2020-10-26 22:56:53 -04:00
  • 9c780011ff Underpinnings for always-on and always-hidden cursor modes Christian Rocha 2020-10-26 21:14:48 -04:00
  • 8148e61443 Correct ^F/^B keybindings for forward/back cursor movement Christian Rocha 2020-10-26 20:59:09 -04:00
  • ce7d8da084 Fix lock-up that could occur with cursor blinking Christian Rocha 2020-10-26 19:24:42 -04:00
  • d14fdf585c Textinput Update and View functions are now methods on the model Christian Rocha 2020-10-25 15:50:52 -04:00
  • bf7719e6c1 Handle paste via command/message since it's IO Christian Rocha 2020-10-24 20:20:45 -04:00
  • 1b530b293c Reset blink timer when moving the cursor Christian Rocha 2020-10-24 17:18:43 -04:00
  • 7d1c04164e Return the value of paginator.TotalPages in SetTotalPages... v0.7.2 Nicolas Martin 2020-10-28 12:11:12 +01:00
  • 97020cd0d2 Support Alt-Backspace to delete previous word Christian Muehlhaeuser 2020-10-27 08:50:22 +01:00
  • 5dbcf95877 Fix situation where short viewports would panic (closes #20) Christian Rocha 2020-10-25 15:17:11 -04:00
  • f58fead10d Support Ctrl-W and Alt-D to delete words left/right of cursor Christian Muehlhaeuser 2020-10-25 05:35:20 +01:00
  • 703de11da4 Fix regression where cursor was misplaced after a paste Christian Rocha 2020-10-24 18:17:59 -04:00
  • 03461d6804 Fix panic when pasting into a textinput with no char limit Christian Rocha 2020-10-24 18:15:44 -04:00
  • 4445acbace Use the same badge order as in our other repos Christian Muehlhaeuser 2020-10-24 08:43:30 +02:00
  • bd161e8ded Add release badge to README Christian Muehlhaeuser 2020-10-24 08:39:00 +02:00
  • d9716a97f6 Fix link to example in README Christian Muehlhaeuser 2020-10-24 08:36:29 +02:00
  • a0fe547fdb Make textinput cursor visible whenever it changes its position Christian Muehlhaeuser 2020-10-24 05:44:51 +02:00
  • 1cb36774ed Split up workflows and automatically pick latest Go version Christian Muehlhaeuser 2020-10-23 13:14:08 +02:00
  • bdd909a5d7 Textinput: bind home/end and fix behavior of delete key v0.7.1 Christian Rocha 2020-10-22 15:32:16 -04:00
  • b08b3efa02 add a couple alternate key bindings to make the scrolling slightly more intuitive Will Bradley 2020-10-21 20:28:44 -06:00
  • 83b6a2205f Add an EchoMode and EchoCharacter property to textinputs (#11) Christian Muehlhaeuser 2020-10-22 00:17:41 +02:00
  • c06af8962d Update footer in README Christian Rocha 2020-10-20 10:17:26 -04:00
  • 3a65be950a Remove release badge from README Christian Muehlhaeuser 2020-10-19 06:20:37 +02:00
  • 2dd6e0c80b Update README badges Christian Muehlhaeuser 2020-10-19 06:08:19 +02:00
  • 1e50e6d291 Add GitHub workflows Christian Muehlhaeuser 2020-10-19 06:11:12 +02:00
  • 573f90a876 Fix typo John Diego 2020-10-18 20:56:55 -07:00
  • a498b857d6 Update paginator for bubbletea 0.12.0 v0.7.0 Christian Rocha 2020-10-16 14:36:08 -04:00
  • 82097a1c79 Remove unused function Christian Rocha 2020-10-16 11:54:44 -04:00
  • a8ec421800 Update bubbletea and termenv dependencies Christian Rocha 2020-10-16 11:54:00 -04:00
  • 9c10cd0586 Remove unused ErrMsg type from textinput module Christian Rocha 2020-10-15 18:50:28 -04:00
  • 154f3763f7 textinput.View can just accept a textinput.Model argument Christian Rocha 2020-10-15 18:43:08 -04:00
  • eff931bdea Remove replace directive for bubbletea in go.mod Christian Rocha 2020-10-12 22:15:02 -04:00
  • 0d7b3ed8e8 Fix URLs to Charm and Glow in README Christian Rocha 2020-10-06 13:25:46 -04:00
  • cbafae84f9 Update mouse wheel stuff in paginator per last-minute Bubble Tea API change v0.6.1 Christian Rocha 2020-10-06 12:29:18 -04:00
  • 959598c9aa Fix outdated comment v0.6.0 Christian Rocha 2020-10-02 13:03:04 -04:00
  • 5f7c8b5375 Simplify the API around fine-grained spinner display rules Christian Rocha 2020-08-24 23:14:17 -04:00
  • 75df6b96a1 Don't return the current frame in TickMsg Christian Rocha 2020-08-24 21:09:28 -04:00
  • 084d0acefd Fix comments + minimum lifetime should work in conjunction with HideFor Christian Rocha 2020-08-24 21:07:45 -04:00
  • e8526ec4ef Optional fine-grained rules for the spinner about when and how long to show it Christian Rocha 2020-08-24 20:03:54 -04:00
  • 68f11d0b63 Update termenv to 0.7.2 Christian Rocha 2020-08-22 11:24:06 -04:00
  • f78a02cc29 Avoid unnecessary conversions Christian Muehlhaeuser 2020-08-22 12:41:37 +02:00
  • 9a4fbb3be1 Make golint happy Christian Muehlhaeuser 2020-08-22 12:41:09 +02:00
  • d4a0ecd3ee Bump bubbletea dependency and set termenv dependency to v0.7.0 Christian Rocha 2020-08-20 13:30:57 -04:00
  • 34b1f47068 Fix link to Bubble Tea in README Christian Rocha 2020-07-31 19:11:13 -04:00
  • dbd40713ce Remove extraneous methods v0.5.1 Christian Rocha 2020-07-29 20:04:09 -04:00
  • 54a0d84255 Add badges Christian Rocha 2020-07-29 19:24:09 -04:00
  • 004511e00f Add example GIFs Christian Rocha 2020-07-29 19:20:41 -04:00
  • 7fa53ea961 Link directly to example code and flesh out pagination component description Christian Rocha 2020-07-29 16:38:59 -04:00
  • 0cc5e71a63 Flesh out README and add Charm badge Christian Rocha 2020-07-29 16:34:01 -04:00
  • f11ca377f4 Add clipboard paste support to textarea v0.5.0 Christian Rocha 2020-07-21 16:49:27 -04:00
  • 10022c964c Fix slice out of bounds errors that could happen when deleting text Christian Rocha 2020-07-21 18:22:18 -04:00
  • 5357dd61bd Fix bug where scroll wheel could create duplicate lines on top and bottom v0.4.1 Christian Rocha 2020-07-20 17:46:15 -04:00
  • 5a26cb0d8e Use pgup/pgdown as default paginator keystrokes Christian Rocha 2020-07-20 12:13:33 -04:00
  • 88469a499e Tidy up the key case switch in viewport Christian Rocha 2020-07-20 11:56:35 -04:00
  • b130d96434 Add methods for jumping to the tom and bottom of the viewport Christian Rocha 2020-07-17 19:22:08 -04:00
  • 185a19e56f Fix cases where pager would add blank lines to bottom of document Christian Rocha 2020-07-17 18:37:51 -04:00
  • dbb1d93970 Remove redundant viewport commands Christian Rocha 2020-07-17 18:22:51 -04:00
  • 2f909886c1 Be more consistent with max() argument order Christian Rocha 2020-07-17 18:13:48 -04:00
  • 5720cfb35a Correct scroll percentage reporting Christian Rocha 2020-07-17 18:13:05 -04:00
  • 3c07b97d37 Correct typo, add potential TODO Christian Rocha 2020-07-17 17:02:37 -04:00
  • 9b3e5476c3 Update README a little. Christian Rocha 2020-07-17 14:01:48 -04:00
  • 74e84eca55 Bump Bubbletea dependency v0.4.0 Christian Rocha 2020-07-14 18:26:59 -04:00
  • ccf4c90b6b Rework spinner to allow for user-defined custom spinners Christian Rocha 2020-07-14 18:21:48 -04:00
  • f341e3c896 Correct mouse wheel behavior Christian Rocha 2020-06-23 13:10:50 -04:00
  • c9196e5407 Add basic mouse wheel support to viewport Christian Rocha 2020-06-23 12:00:17 -04:00
  • f967f6a87f Fix a bug where placeholder text would not reappear post-input Christian Rocha 2020-06-22 15:28:38 -04:00
  • 35c3cd626d Fix spinner frame skipping and remove custom message functionality Christian Rocha 2020-06-22 14:49:21 -04:00
  • 2525319d72 Bump dependencies v0.3.0 Christian Rocha 2020-06-22 13:51:51 -04:00