Ayman Bagabas
e086d98172
feat: reduce console/term dependencies
...
Replace mattn/isatty and containerd/console with golang.org/x/term.
This mostly affects Windows. On Windows, unlike Unix, the console (TTY)
has different handles for input/output. Using the Console API, we need
to enable VT input on the input handle (CONIN) and VT processing on the
output handle (CONOUT). Doing so enables processing VT sequences on
Windows i.e. ANSI colors, mouse sequences, cursor movements, etc.
We already handle enabling VT processing for the program output using
Termenv `EnableVirtualTerminalProcessing`. For the input side, we enable
VT input right before setting the console to raw.
By doing this, we can drop both containerd/console and mattn/isatty.
2024-01-10 12:26:58 -05:00
Daniel Schmidt
cb1a1d79ea
chore(docs): add end_of_eden and CRT to Bubbletea in the Wild ( #885 )
...
* docs: add end_of_eden and crt to docs
* chore(docs): readme copyedits + fix my typo
---------
Co-authored-by: Christian Rocha <christian@rocha.is>
2024-01-09 17:29:32 -05:00
Carlos Alexandro Becker
c6cb2b199e
feat(deps): update dependencies ( #858 )
...
* feat(deps): update dependencies
* chore(deps): update bubbles to v0.17.1 in examples
---------
Co-authored-by: Christian Rocha <christian@rocha.is>
2024-01-09 17:16:42 -05:00
Christian Rocha
c38fc69413
chore(docs): Bubble Tea in the Wild housekeeping ( #896 )
...
* docs(readme): tidy up Bubble Tea in the Wild section
* docs(README): add gum and mods to Bubble Tea in the Wild
2024-01-09 17:07:41 -05:00
Stefan Logue
3556f240b0
docs(README): add stefanlogue/meteor to Bubbletea in the wild
2024-01-09 16:46:36 -05:00
Matt Christofides
9786d4110c
docs: adding redis_tui to readme
2024-01-09 16:45:31 -05:00
hedhyw
a34cc68163
docs: add interactive viewer for JSON logs to documentation
2024-01-09 16:45:01 -05:00
Nikita Rusin
2b45edfc29
docs(README): add trainer to Bubble Tea in the Wild
2024-01-09 16:43:38 -05:00
Christian Rocha
be51d73174
Revert "add: Projects & Configs Navigator to Examples"
...
This reverts commit 62cf473cb1
.
2024-01-09 16:37:56 -05:00
Christian Rocha
26b9cbf8e5
Revert "edit: GIF URL"
...
This reverts commit 8956342094
.
2024-01-09 16:37:56 -05:00
Pheon-Dev
8956342094
edit: GIF URL
2024-01-09 16:37:12 -05:00
Pheon-Dev
62cf473cb1
add: Projects & Configs Navigator to Examples
2024-01-09 16:37:12 -05:00
Michele Filadelfia
aa01e67356
modified name of fractals-cli personal project
...
I modified name of my fractals-cli personal project (previous name was mandelbrot-cli)
2024-01-09 16:30:06 -05:00
Engin Açıkgöz
48af1db85e
Add gama into README.md
2024-01-09 16:29:22 -05:00
Kevin Goslar
6ff6405ae4
Fix grammar in README
2024-01-09 08:42:36 -05:00
Maas Lalani
705292761d
chore: cleanup autocomplete example ( #892 )
2024-01-08 12:05:38 -05:00
Christian Rocha
b6695477b4
chore(examples): bump the bubbles dep in the examples to v0.17.0
...
Closes #882
2023-12-13 12:42:12 -05:00
dependabot[bot]
e671b840f2
chore(deps): bump actions/setup-go from 4 to 5 ( #881 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-07 08:59:23 -03:00
Ayman Bagabas
a154847611
feat: extended Coordinates mouse reporting & additional buttons support ( #594 )
...
* feat(mouse): add extended mouse & shift key support
Support SGR(1006) mouse mode
Support parsing shift key press
Support additional mouse buttons
Report which button was released
Report button motion
* fix: key.go sgr len missing calculation (#841 )
* chore(test): add sgr mouse msg detect test
---------
Co-authored-by: robinsamuel <96998379+robin-samuel@users.noreply.github.com>
2023-12-04 11:50:59 -05:00
Ayman Bagabas
2bcb0af2e2
feat: add set-window-title command ( #611 )
...
Set the terminal window title using termenv.
Fixes: https://github.com/charmbracelet/bubbletea/issues/610
2023-12-04 11:50:27 -05:00
Guy Edwards
bc1c475eb0
docs: add nom rss reader to bubble-tea-in-the-wild
2023-11-28 10:47:43 -05:00
Christian Rocha
185724ca96
docs: add go-sweep (Minesweeper) to Bubble Tea in the Wild
2023-11-28 10:32:22 -05:00
dependabot[bot]
a6f07b8ba6
chore(deps): bump stefanzweifel/git-auto-commit-action from 4 to 5 ( #834 )
...
Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action ) from 4 to 5.
- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases )
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/stefanzweifel/git-auto-commit-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: stefanzweifel/git-auto-commit-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-07 14:02:25 -03:00
Carlos Alexandro Becker
5984e69f09
fix: race changing ignoreSignals ( #791 )
...
* fix: race changing ignoreSignals
* fix: atomic.Uint32
2023-11-07 13:49:00 -03:00
Raphael 'kena' Poss
5536bca34e
fix(key): support very long buffered input ( #570 )
2023-10-18 12:59:26 +02:00
dependabot[bot]
6d07f4a410
chore(deps): bump golang.org/x/net from 0.7.0 to 0.17.0 in /examples ( #840 )
2023-10-13 12:37:21 +00:00
dependabot[bot]
365895d05d
chore(deps): bump github.com/charmbracelet/lipgloss in /examples ( #842 )
2023-10-13 12:32:22 +00:00
William Poussier
99d7d4bd17
docs(README): add wI2L/scrabbler to Bubble Tea in the Wild
2023-10-02 10:01:05 -04:00
David Dworken
afcf498336
chore(docs): Add hiSHtory to Bubble Tea in the Wild
2023-09-23 21:10:13 -04:00
dependabot[bot]
d55cfec13e
chore(deps): bump actions/checkout from 3 to 4 ( #820 )
2023-09-06 17:24:42 +00:00
Maas Lalani
bf2ffaf840
chore: remove examples/mouse/README.md
2023-08-28 10:07:18 -04:00
Eng Zer Jun
12f405723d
refactor: remove redundant nil check in `flush` ( #812 )
...
From the Go docs:
"If the map is nil, the number of iterations is 0." [1]
Therefore, an additional nil check for before the loop is unnecessary.
[1]: https://go.dev/ref/spec#For_range
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-08-24 09:17:44 -07:00
Christian Rocha
b5e2519fea
chore(docs): add walk to Bubble Tea in the Wild
2023-08-22 10:33:55 -04:00
Christian Rocha
5506e9a22e
chore: minor UX edits to autocomplete example ( #807 )
2023-08-21 13:27:53 -04:00
Maas Lalani
1ad127782c
feat(textinput): example for autocompletion with charmbracelet repositories ( #803 )
...
* feat: autocompletion with charmbracelet repositories
* chore(deps): bump bubbles
2023-08-21 11:41:38 -04:00
Gabriel Lopes
f6f65aef20
Add storydb to 'Bubble Tea in the Wild' section ( #804 )
2023-08-21 11:28:06 -04:00
naglis
91dd120073
docs: fix `WithFPS` godoc
2023-07-24 12:37:31 -04:00
Christian Rocha
c4c83ba757
chore: restrict logfile permissions to owner-only
2023-07-10 09:04:25 -04:00
Christian Rocha
c284acad9f
chore(lint): extract a magic number when parsing X10 mouse events
2023-07-10 09:04:25 -04:00
Christian Rocha
522659d798
chore(lint): wrap various errors
2023-07-10 09:04:25 -04:00
Christian Rocha
ffad6555d5
chore(lint): add various nolint directives, where appropriate
2023-07-10 09:04:25 -04:00
Carlos Alexandro Becker
b639c9bab2
Revert "build: group dependabot updates ( #773 )"
...
This reverts commit ea7ceb7f38
.
2023-07-07 19:17:24 +00:00
Christian Rocha
5bc2504690
chore(lint): wrap various TTY-related errors
2023-07-07 16:30:57 +02:00
Carlos Alexandro Becker
ea7ceb7f38
build: group dependabot updates ( #773 )
2023-07-06 13:42:53 -03:00
Roman Leonenkov
c1b0b19d64
fix: index out of range in examples/credit-card-form when ccn is empty ( #770 )
2023-06-29 19:37:48 -04:00
Carlos Alexandro Becker
cd63c32c73
feat(deps): update termenv ( #768 )
2023-06-28 16:40:08 +02:00
Christian Rocha
f75684c986
chore: group handler type and methods together
2023-06-20 07:21:54 -04:00
Raphael 'kena' Poss
b1e7f42ab0
fix(key): invert the control loop
...
Instead of reading messages in an array and then sending them into a
channel, this version of key.go writes to the channel directly.
2023-06-20 12:48:13 +02:00
Christian Rocha
ed4f2ec1ca
chore: go mod tidy to remove rogue bubbles dep
2023-06-19 19:08:37 -04:00
Raphael 'kena' Poss
d9c675138c
fix(key),test: simplify the input analysis code
2023-06-15 14:51:02 +02:00