Christian Muehlhaeuser
5d1ffa74cd
test: quit/kill model after the first render
2022-09-27 05:02:33 +02:00
Raphael 'kena' Poss
2fe97e07d0
Support the insert key
...
This can be used in e.g. textarea / textinput to enable "overwrite
mode".
2022-09-27 04:01:39 +02:00
Raphael 'kena' Poss
cb4ff09b13
Fix 1-indexing when entering alt screen
2022-09-27 03:46:19 +02:00
Christian Muehlhaeuser
6c449e55bf
feat: use Termenv.Output to write to tty
2022-09-27 02:49:36 +02:00
freddysilber
5c4218e5f6
chore: fix typos in `tutorials/commands/README.md`
...
* chore: fixes typos in `tutorials/commands/README.md`
2022-09-26 15:58:52 -04:00
fedeztk
27ba549110
docs: added got to Bubble Tea in the Wild ( #419 )
2022-09-26 07:47:59 +02:00
Maas Lalani
e5cbc04f94
docs: use styled glamour markdown within viewport
2022-09-23 16:46:56 -04:00
Christian Muehlhaeuser
e9fe942675
test: run model with provided input and check output
2022-09-22 19:40:40 +02:00
Tom Payne
6bc35c758e
docs: add chezmoi to users of Bubble Tea in the wild
2022-09-18 22:15:31 -04:00
Christian Rocha
a7d6b5cd70
docs(tutorials): fix typo in basics tutorial and move a paragraph
2022-09-14 22:13:47 -04:00
Christian Rocha
1a0beff868
chore: use go 1.16 ( #449 )
...
* chore: use go 1.16 and gofmt accordingly
* chore: also update examples and tuts to go 1.16
2022-09-14 19:08:36 -04:00
Christian Rocha
bf3996256b
docs: readme improvements ( #448 )
...
* docs: fix hierarchy in literate version of the basics tutorial
* docs: small correction to comment in literate tutorial
* docs: improve wording in logging section of the README
* docs: fix spelling (thanks maas)
2022-09-12 10:27:39 -04:00
bashbunni
d0f3e1e052
fix: fix typos
2022-09-12 09:33:31 -04:00
bashbunni
14422f5357
docs: move tutorial back to README
2022-09-12 09:33:31 -04:00
dependabot[bot]
8ddf2a308f
chore(deps): bump github.com/charmbracelet/lipgloss in /examples
...
Bumps [github.com/charmbracelet/lipgloss](https://github.com/charmbracelet/lipgloss ) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/charmbracelet/lipgloss/releases )
- [Commits](https://github.com/charmbracelet/lipgloss/compare/v0.5.0...v0.6.0 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/lipgloss
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-07 12:42:23 -04:00
Raphael 'kena' Poss
624343388b
Support linux console F1-F5
2022-09-04 17:52:17 +02:00
Christian Rocha
127f76226e
docs(example): set wordwrap in glamour example
2022-09-02 13:01:14 -07:00
Christian Rocha
989d49f3e6
feat: add Sequence for running commands in order. Closes #413 .
...
This deprecates Sequentially.
2022-08-30 13:07:05 -07:00
Maas Lalani
9fcebd151f
docs: fix mobile resize issue on example using `picture` tag
2022-08-30 12:44:58 -04:00
Raphael 'kena' Poss
134a930f2d
keys: properly support the alt modifier
2022-08-30 11:17:11 +02:00
Dakota Walsh
f905b97756
docs: fix typo
...
The previous example was wrong and would result in the following
compiler error:
error (type) is not an expression
Just a simple typo, I've changed it to err to correctly reference the
function scoped variable named err.
2022-08-27 10:22:11 +02:00
bashbunni
bb241ceb8b
docs: add debounce example ( #348 )
...
* docs: add debounce example
* refactor: reformat comments
Co-authored-by: Maas Lalani <maas@lalani.dev>
* refactor: init model before program start
Co-authored-by: Maas Lalani <maas@lalani.dev>
* feat: show tag in view
* docs(examples): improve debounce example comments
* docs(examples): remove extraneous lipgloss join
Co-authored-by: Maas Lalani <maas@lalani.dev>
Co-authored-by: Christian Rocha <christian@rocha.is>
2022-08-24 21:09:43 -07:00
Johann Cruz
636f2c2726
feat: catch SIGTERM ( #412 )
...
* Added SIGTERM Signal.
* docs: cleanup SIGINT/SIGTERM doc comment
Co-authored-by: Christian Rocha <christian@rocha.is>
2022-08-24 20:32:12 -07:00
bashbunni
30bb43e5ae
Composable view ( #394 )
...
* docs: creating nested models
* docs: move nested model to example
* docs: add working nested model example
* refactor: use tea.Batch in nested model example
* refactor: switch to composable view example
* refactor: tab select, add padding to boxes, only focused has border
* fix: add padding to timer to remove UI shift
2022-08-24 14:57:32 -07:00
Christian Rocha
31800cd0a7
fix(examples): remove unused type in textarea example
2022-08-19 09:29:18 -07:00
mattn
6b685056fc
fix: support multi-byte strings on Windows ( #343 )
...
* convert locale string to utf-8 on Windows
* update go.mod
* revert go fmt ./...
* fix(lint): use tabs in GoDoc example code
Co-authored-by: Christian Rocha <christian@rocha.is>
2022-08-19 09:25:22 -07:00
Maas Lalani
a7f50a670c
fix(split-editors): resize issue
2022-08-18 16:04:03 -04:00
Maas Lalani
4e9a56f70d
docs: Add CONTRIBUTING.md ( #405 )
...
Co-authored-by: erdaltsksn <erdal@taskesen.me>
2022-08-18 15:22:59 -04:00
Maas Lalani
8b7b7918d3
doc: Add table example
2022-08-18 15:09:02 -04:00
Sebastian Spaink
6faba760c2
docs: example interacting with tabs using lipgloss
2022-08-18 14:46:28 -04:00
Michele Filadelfia
9b459e503e
docs: Add `mandelbrot-cli` to Bubble Tea in the Wild ( #385 )
...
* docs: Add `mandelbrot-cli` to Bubble Tea in the Wild (#385 )
2022-08-18 13:56:42 -04:00
Jerome Fitzgerald
ae6fcd395e
docs: README progress-download folder + ignore
...
📝 Update folder name in README to `progress-download` as
that is what generates with `go build .`
🙈 Add the files genreated by `go build .` to root `.gitnore`
2022-08-18 12:57:30 -04:00
Tor Bratsberg
7c6ebc312c
Doc: Add `Noted` to README.md
2022-08-18 12:55:48 -04:00
ottopiramuthu
99ed0962ff
Add sku to Bubble Tea in the Wild
2022-08-18 12:53:33 -04:00
Christian Muehlhaeuser
ca333e7d79
chore: bump go-isatty dep
2022-08-15 12:26:30 +02:00
Christian Muehlhaeuser
1e1b5f716d
chore: gofmt sources
2022-08-15 12:25:55 +02:00
Ben Sadeh
a7b1d7c737
Add circumflex to Bubble Tea in the Wild
2022-08-08 10:31:32 -04:00
jon4hz
e2063ac1ea
docs: rename flipperzero-tea to fztea
2022-07-29 08:13:59 -07:00
aklyachkin
2c7890bdf5
enable compilation on AIX
2022-07-29 15:58:06 +02:00
Christian Rocha
b8fe9af45d
docs: add a few more entires to 'Bubble Tea in the Wild'
2022-07-27 18:41:40 -07:00
Chip Castle
fbd0bc9ce2
Add https://github.com/chip/pathos to Bubble Tea in the Wild
2022-07-27 18:14:45 -07:00
purpleclay
507a1cd4fe
docs: add dns53 to bubbletea in the wild list
2022-07-27 18:08:36 -07:00
Maciej Ostaszewski
557ba7e336
docs: fix typo ( #378 )
2022-07-23 21:44:56 -04:00
dependabot[bot]
ac4a1a1faa
feat(deps): bump github.com/muesli/cancelreader from 0.2.1 to 0.2.2 ( #354 )
...
* feat(deps): bump github.com/muesli/cancelreader from 0.2.0 to 0.2.2
Bumps [github.com/muesli/cancelreader](https://github.com/muesli/cancelreader ) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/muesli/cancelreader/releases )
- [Commits](https://github.com/muesli/cancelreader/compare/v0.2.0...v0.2.2 )
---
updated-dependencies:
- dependency-name: github.com/muesli/cancelreader
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix: examples
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-07-21 10:02:18 -03:00
bashbunni
2b9d4e3015
chore: fix Println typo
2022-07-20 01:46:48 +02:00
bashbunni
219ed4ed09
docs: link to tutorial + general README edits ( #344 )
...
* docs: clean up readme
* chore: add references
* chore: set to 80 char width
* docs: remove 404 docs link for now + tidy up READMEs
* docs: small language change in README
Co-authored-by: Christian Rocha <christian@rocha.is>
2022-07-19 16:23:37 -07:00
Christian Rocha
ae4381a892
docs: fix hasty copypasta in BubbleZone URL in README ( #375 )
2022-07-19 15:47:15 -07:00
Liam Stanley
6a88c0fc4e
feat: add bubblezone to readme ( closes #368 ) ( #372 )
...
* feat: add bubblezone to readme (closes #368 )
- also fixed a handful of grammar-related items in the readme.
Signed-off-by: Liam Stanley <me@liamstanley.io>
* chore: promote BubbleZone to main resource section
Co-authored-by: Christian Rocha <christian@rocha.is>
2022-07-19 15:33:51 -07:00
Maas Lalani
0a0182e55a
chore: Bump bubbles to v0.13.0 ( #363 )
2022-07-08 10:08:24 -04:00
Maas Lalani
27e356a779
Add border to split-editors example ( #362 )
...
* doc(textarea): add border to focused textarea in split-editors example
* doc(textrea): tone down with border color in split-editors example
Co-authored-by: Christian Rocha <christian@rocha.is>
2022-07-05 14:31:32 -04:00