Commit Graph

553 Commits

Author SHA1 Message Date
Christian Rocha c4aeadd762 Generalize output from an *os.File to an io.Writer 2020-12-30 17:59:00 -05:00
Christoph Hartmann e84314c622 allow custom input and handle eof for os.input properly
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2020-12-30 17:59:00 -05:00
Christian Rocha bc06e8d2e0
Fix wording in, and generally improve, a comment 2020-12-14 20:24:17 -05:00
Christian Rocha 01cb02ddd1
Correct help in spinners demo (see #38) 2020-12-07 17:38:44 -05:00
Christian Rocha 8e01f5f58a Add command for hiding the cursor 2020-12-03 13:56:37 -05:00
Christian Rocha 6d70abd7d5 When showing/hiding the cursor operate on the program's io.Writer
Previously we were operating on io.Stdout.
2020-12-03 13:56:37 -05:00
Richard Cooper f5fde56af0 Fix adding prefix to file logs 2020-11-22 21:45:29 -05:00
Christian Rocha ec67f23001 Add spinner browser to examples 2020-11-12 11:35:23 -05:00
Christian Rocha fce5ce7782 Update spinner demo for Bubbles v0.7.5 2020-11-12 11:35:23 -05:00
Christian Rocha 454d198b0a
Update examples for Bubbles v0.7.4 2020-11-08 21:29:04 -05:00
Christian Rocha 28db8b465a
The q key also quits in the pager example 2020-11-08 21:25:52 -05:00
Christian Rocha 5d34c88692
Update examples for Bubbles v0.8.0 2020-11-08 21:22:39 -05:00
Aleksandr Krivoshchekov 02a0509e34
Simplify code and add tests for `mouse.go` (#30) 2020-11-07 06:43:12 +01:00
Kyosuke Fujimoto 3aa00243ff Fix links in documents 2020-11-03 23:26:24 -05:00
SuperPaintman 216b195175 Update `go.mod` in examples and tutorial 2020-11-03 20:19:53 -05:00
SuperPaintman 1545c07a0d Build examples and tutorial in build workflow 2020-11-03 20:19:53 -05:00
SuperPaintman 892bebd617 Fix a mouse example 2020-11-03 20:19:53 -05:00
Christian Rocha 116a0cfb8f Process alt-modfied keystrokes before normal character input 2020-11-01 08:57:43 -05:00
Christian Rocha 1b5f599f2d Update key usage examples 2020-11-01 08:57:43 -05:00
Christian Rocha 4f2d85494d Remove the excessive Key.IsRune() method 2020-11-01 08:57:43 -05:00
Christian Rocha fc37167e16 Support multi-character input (i.e. Chinese and Japanese IME) 2020-11-01 08:57:43 -05:00
Christian Muehlhaeuser eae4d66917
Remove duped import 2020-10-30 08:37:58 +01:00
Christian Rocha 1e0283511e Update textinputs for next Bubbles release 2020-10-28 22:30:55 -04:00
Christian Rocha 30e88cb04e
Bump reflow to v0.2.0 in examples 2020-10-26 21:23:25 -04:00
Christian Rocha 93adce2131
Minor simplification to countdown example 2020-10-25 17:08:58 -04:00
Christian Rocha 9a3a101244
Add timer countdown example 2020-10-25 16:57:11 -04:00
Christian Muehlhaeuser 28d5ca1cf2
Add release badge to README 2020-10-24 08:40:36 +02:00
Christian Muehlhaeuser 8d361ae2b7 Split up workflows and automatically pick latest Go version 2020-10-23 13:23:21 +02:00
Christian Rocha a0e3bcaa61
Bump Bubble Tea and Bubbles dependencies in examples 2020-10-22 16:43:22 -04:00
Christian Rocha a1d92e77c5
Correct backspace and delete key mappings 2020-10-22 15:22:07 -04:00
Christian Rocha ae771304df
Add Glamour + Viewport example 2020-10-21 15:49:04 -04:00
Christian Rocha 9e9e05774c
Set character limits on text input examples 2020-10-21 10:19:34 -04:00
Christian Rocha b8bc66ed6f
Bump Bubble Tea dependency in examples 2020-10-20 14:10:15 -04:00
Christian Rocha 072d4cb3f5
Update footer in README 2020-10-20 10:16:06 -04:00
Christian Rocha 480bdd41fc
Fix typo in doc comment + improve that comment 2020-10-18 12:43:41 -04:00
Christian Rocha 413776f017
Fix return value int Init() in standalone basics tutorial too 2020-10-17 09:46:22 -04:00
Tihomir Jovicic 6638145bd7 Fix return value of Init() in README 2020-10-17 13:45:45 +00:00
Christian Rocha 75e31d0a68
Minor improvement to Reflow description 2020-10-17 00:48:51 -04:00
Christian Rocha e7d56cf1b0
Fix copypasta in basics tutorial 2020-10-16 23:07:31 -04:00
Christian Muehlhaeuser 54786f0778
Remove dupe paragraphs from README 2020-10-16 19:22:19 +02:00
Christian Rocha cb0d9dc6d9
Synchronize lib section in basics tutorial with readme 2020-10-16 11:58:01 -04:00
Christian Rocha 15b6b1dd7d
Pull some extraneous parens in the basics tutorial 2020-10-16 11:23:37 -04:00
Christian Rocha 141fc86ad0
Update wording in simple example 2020-10-15 20:51:28 -04:00
Christian Rocha dc3e244823
Improve formatting and wording in basics tutorial 2020-10-15 20:41:54 -04:00
Christian Rocha 9c5d4268ba
Update tutorials per new Model interface-based structure 2020-10-15 20:26:02 -04:00
Christian Rocha c72ee756dd
Bump Bubbles dependency to current master 2020-10-15 20:23:30 -04:00
Christian Rocha 847787e46d
Convert remaining examples to Model interface-based structure 2020-10-15 19:48:42 -04:00
Christian Rocha 7530fb0112
Update mouse example to use new Model interface-based structure 2020-10-15 16:33:37 -04:00
Christian Rocha 7507f3d805
Update views example to use new Model interface-based structure 2020-10-15 16:30:34 -04:00
Christian Rocha 816428c135
Add comment for Init() in simple example 2020-10-15 16:19:13 -04:00