Commit Graph

  • a55bf775cd Add missing build tags to fix builds in BSD systems Christian Rocha 2021-11-03 12:27:46 -04:00
  • 119144e78c ANSI compression is now opt-in via the WithANSICompressor program option Christian Rocha 2021-10-30 12:29:30 -04:00
  • 56aa4efb60 tea: Add StartReturningModel() Niklas Johansson 2021-09-22 13:26:58 +02:00
  • 6dc000bdbd Examples and tutorials: update dependencies and go mod tidy Christian Rocha 2021-10-28 09:35:04 -04:00
  • e52d1f1e90 Bump reflow, termenv and go-isatty Christian Rocha 2021-10-28 09:23:54 -04:00
  • c29912c179 Enable ANSI compressor Christian Muehlhaeuser 2021-10-18 11:40:08 +02:00
  • 1f12bda862 Add program-level quit convenience method Christian Rocha 2021-10-04 18:26:07 -04:00
  • e8289143a5 test: logging test Carlos A Becker 2021-10-12 10:51:55 -03:00
  • 350b13cba7 test: key tests Carlos A Becker 2021-10-12 10:38:08 -03:00
  • cfb871c5ca test: cmds Carlos A Becker 2021-10-10 11:44:08 -03:00
  • 7934b60e21 test: logging Carlos A Becker 2021-10-10 11:36:32 -03:00
  • 0b4539170b Set ENABLE_VIRTUAL_TERMINAL_INPUT on Windows Christian Rocha 2021-10-02 15:46:31 -04:00
  • ab60d776f1 Add missing Go 1.17 build tags in Windows files Christian Rocha 2021-10-02 14:18:18 -04:00
  • 0e7cd09bf6 Tidy up comments Christian Rocha 2021-09-28 13:54:25 -04:00
  • 860f623112 Remove reundant "if ...; err != nil" check Christian Rocha 2021-09-28 13:49:54 -04:00
  • e402e8b567 Cancelable reads (#120) Erik G 2021-09-28 19:30:11 +02:00
  • 7396e37f3f Fix a performance rendering size miscalculation in the pager example Christian Rocha 2021-09-17 16:31:31 -04:00
  • d1fb02c39d Use the hot, new Go 1.17 build tags syntax Christian Rocha 2021-09-07 16:04:09 -04:00
  • 9d0e1db101 Tidy up tutorials Christian Rocha 2021-09-04 14:36:49 -04:00
  • ad19c664fe Condense/scope init cmd Christian Rocha 2021-09-07 15:29:13 -04:00
  • c5ed2b4a01 Add missing GoDocs Christian Rocha 2021-09-07 15:28:08 -04:00
  • 749e48df11 Update animated progress bar example per its current API Christian Rocha 2021-09-07 13:45:43 -04:00
  • 60ddf33992 fix: avoid global state (#126) Carlos Alexandro Becker 2021-09-04 13:48:46 -03:00
  • 59e5d8e2c9 Add sqlite-tui to the list of things built with Bubble Tea Christian Rocha 2021-09-02 15:50:00 -04:00
  • 3930519979 Fix typos Christian Muehlhaeuser 2021-08-23 23:16:59 +02:00
  • 27ba7e7aa1 Add list examples Christian Muehlhaeuser 2021-03-02 22:52:27 +01:00
  • 1b8495ed21 Add help bubble example Christian Rocha 2021-03-03 19:44:56 -05:00
  • 2792304416 Add Harmonica, AT CLI, and Canard to the README Christian Rocha 2021-08-02 13:01:52 -04:00
  • ea0550121e Don't close the msgs channel on shutdown Christian Rocha 2021-07-30 11:25:00 -04:00
  • 5f41a91e02 Fix Windows stuff related to the refactor at 49a5d16 Christian Rocha 2021-07-29 17:59:36 -04:00
  • 67625b480e Bump deps in commands to fix builds Christian Rocha 2021-07-29 17:47:34 -04:00
  • 4bfad658ad Simplify how we listen for window resizes Christian Rocha 2021-07-29 17:42:03 -04:00
  • 01dd88fd1d Always hide and show the cursor during startup and shutdown Christian Rocha 2021-07-29 17:41:36 -04:00
  • e1ca585c16 Simplify how we enable ANSI colors on Windows Christian Rocha 2021-07-29 17:36:29 -04:00
  • 8574b87a44 Bump containerd/console in examples Christian Rocha 2021-07-29 17:02:15 -04:00
  • 30fd7a8f20 Better logic in input checks Christian Rocha 2021-07-29 17:01:38 -04:00
  • 9f9b3aea96 Read input regardless of whether or not it's a TTY Christian Rocha 2021-07-29 16:47:13 -04:00
  • 9826251f08 Add WithInputTTY ProgramOption Christian Rocha 2021-07-29 15:43:03 -04:00
  • e87344b791 Move ProgramOptions into a separate file Christian Rocha 2021-07-29 15:29:09 -04:00
  • 863e2ad74e Bump containerd/console to v1.0.2 Christian Rocha 2021-07-29 15:27:24 -04:00
  • 3a9ede46f6 Condense a scoped if-statement Christian Rocha 2021-07-29 12:39:13 -04:00
  • 8f03848f54 Split progress bar example into static and animated versions Christian Rocha 2021-07-21 13:08:53 -04:00
  • facc87217f Update linter config Christian Muehlhaeuser 2021-06-04 11:56:54 +02:00
  • 0886ee26b0 Msgs can now be sent to Programs with Program.Send(Msg) Christian Rocha 2021-06-16 21:20:56 -04:00
  • b957c32c18 Fix a bug where explicitly ignored lines weren't honored by the renderer Christian Rocha 2021-06-21 16:17:52 -04:00
  • b2c726a182 Make README footer more consistent with newer Charm READMEs Christian Rocha 2021-06-07 20:16:35 -04:00
  • 22244e0af4 Add Slides and Typer to stuff built with Bubble Tea Christian Rocha 2021-06-07 20:15:16 -04:00
  • 6547773a3f Clear output and render "nothing" when a view returns the empty string Christian Rocha 2021-06-02 13:20:30 -04:00
  • 1f773e8f20 Fix a race where artifacts could print when exiting a program Christian Rocha 2021-05-19 21:35:36 -04:00
  • 85ab476698 Add ProgramOptions for entering the altscreen and enabling the mouse Christian Rocha 2021-05-19 20:52:01 -04:00
  • ec2fbf024b Cycle through cursor modes in textinputs example per Bubbles v0.8.0 Christian Rocha 2021-06-01 15:17:50 -04:00
  • 035d2abd3e Properly cast inputStatus types + mark related linter false positive Christian Rocha 2021-05-31 10:36:45 -04:00
  • 3e98f55adf Add linter ignore rule for windows-related false positive on unix Christian Rocha 2021-05-31 10:27:59 -04:00
  • 955ce5c82c Extract magic number in X10 mouse parser Christian Rocha 2021-05-31 10:27:20 -04:00
  • 3256fae4d4 Force a full repaint when resizing the window Christian Rocha 2021-05-28 21:41:42 -04:00
  • 29b7de4b7c Fix more typos in examples (#102) Ilya Revenko 2021-05-28 20:45:17 +03:00
  • da9e8ee75a Fix typo in examples/result irevenko 2021-05-26 23:11:54 +03:00
  • 6eabfd726e Cleanup styling spinner and tui-daemon-combo examples Christian Rocha 2021-05-14 22:27:10 -04:00
  • 65df16238d Fix coloring glitch in Glamour example Christian Rocha 2021-05-14 22:25:51 -04:00
  • 70be13948a Re-render all lines if the total number of lines increases Christian Rocha 2021-05-14 19:53:22 -04:00
  • 54da5489a0 Add fm and StormForge to projects using Bubble Tea in the README Christian Rocha 2021-05-10 12:39:01 -04:00
  • fb64f34bd0 Only render lines that have changed since the last render Christian Rocha 2021-05-07 15:11:57 -04:00
  • c07cbd1e32 Pull batch processing into the internal message switch Christian Rocha 2021-05-06 13:48:46 -04:00
  • 4fbe50adb6 Disable mouse when exiting due to a panic Christian Rocha 2021-05-04 21:47:24 -04:00
  • 3dff6d4b58 Deprecate Program.EnterAltScreen Program.ExitAltScreen methods Christian Rocha 2021-05-03 14:28:45 -04:00
  • 5c150ebf38 Add cmds for toggling mouse mode + deprecate equivalent Program methods Christian Rocha 2021-05-03 14:27:20 -04:00
  • 7c0bbc7d32 Clean up and normalize examples Christian Rocha 2021-05-01 09:28:58 -04:00
  • 64ae19f37e Add paginator example Elio Esteves Duarte 2021-04-29 17:10:20 -03:00
  • 295f7bd246 Use golang.org/x/term Tobias Klauser 2021-04-29 14:24:25 +02:00
  • b9e853eb2d Edits to library descriptions in README Christian Rocha 2021-04-14 16:08:25 -04:00
  • edc7d8c0a9 Add lipgloss to README links, move projects below it Christian Muehlhaeuser 2021-04-14 21:16:24 +02:00
  • 42f02edf29 Update spinner, textinput and pipe examples for Bubbles v0.7.7 Christian Rocha 2021-04-13 21:28:39 -04:00
  • ebf80ebf89 Fix stack overflow in examples/http sora233 2021-04-09 13:57:58 +08:00
  • 2d602a1244 Remove redundant lock in listen Kiyon 2021-04-05 14:27:56 +08:00
  • 1ee40507ef Add lock for updating width and height Kiyon 2021-04-05 14:18:02 +08:00
  • ab65f2391f Bump bubbletea dependency for examples & tutorials Christian Muehlhaeuser 2021-04-03 02:03:23 +02:00
  • 72ce94f47d Bump termenv to v0.8.1 Christian Muehlhaeuser 2021-04-03 01:43:33 +02:00
  • 9d89d162c2 Clear the bottom line before exiting Christian Rocha 2021-03-15 13:20:16 -04:00
  • 9e9020afce Fix typo in Glamour example Christian Rocha 2021-03-18 13:04:27 -04:00
  • 5d54a46124 Fix the build badge again Christian Rocha 2021-03-18 12:36:25 -04:00
  • 9bc82e4ce6 Whoops, use the Bubble Tea workflow badge instead of Glow's Christian Rocha 2021-03-18 12:33:54 -04:00
  • a72db29ae0 Mutex protect buffer access in standard renderer Christian Muehlhaeuser 2021-03-13 04:27:16 +01:00
  • ac28669943 Enable golint as linter Christian Muehlhaeuser 2021-03-12 02:19:09 +01:00
  • f981b991c0 Fix ineffectual assignment in spinner example Christian Muehlhaeuser 2021-03-12 02:07:50 +01:00
  • b6c7f93d9a Fix various typos in examples Christian Muehlhaeuser 2021-03-12 02:11:26 +01:00
  • d2c1d9bfb0 Omit unhandled error Christian Muehlhaeuser 2021-03-12 01:20:58 +01:00
  • b664dee939 Fix typo Christian Muehlhaeuser 2021-03-12 01:20:16 +01:00
  • 231fa2cb73 Make altscreen demo slightly fancier Christian Rocha 2021-03-11 15:15:08 -05:00
  • 01878b5650 Make tui-daemon-combo demo look a little more enticing Christian Rocha 2021-03-11 15:03:52 -05:00
  • a87e82a3e8 Bump Bubble Tea and Termenv dependencies in examples Christian Rocha 2021-03-11 15:03:25 -05:00
  • c310475b99 Add Gembro to list of things made with Bubble Tea Christian Rocha 2021-03-11 10:15:27 -05:00
  • 7621fad279 Add item for Bubble Tea in the Wild section Kiyon 2021-03-09 10:05:41 +08:00
  • ac36017f86 WithOutput option should take io.Writer as argument. Kiyon 2021-03-09 09:34:14 +08:00
  • 65e8067a82 Implement String() on type Key and make key constants type KeyType Christian Rocha 2021-03-02 10:35:10 -05:00
  • 86b93a31c0 Add commands for toggling the altscreen (#62) kiyon 2021-03-09 01:48:34 +08:00
  • b3f62af8b5 Add nil renderer and combination TUI-daemon program example Christian Rocha 2021-02-09 13:33:25 -05:00
  • 2b8b95d8f8 Fix spinners not spinning in spinners examples (fixes #58) Christian Rocha 2021-03-03 15:59:21 -05:00
  • cd676fab5a Correct logic where we add a space after the prefix when logging Christian Rocha 2021-03-01 18:05:53 -05:00
  • fbd32c6eee Add tz to the list of things built with Bubble Tea Christian Rocha 2021-03-01 14:15:05 -05:00
  • 0780601791 Open a TTY if input is not a TTY, unless the user has spec'd otherwise Christian Rocha 2021-02-26 18:38:52 -05:00