Commit Graph

804 Commits

Author SHA1 Message Date
dustin-ward 3ee1489cf7 add support for z/OS 2024-02-05 14:52:33 +01:00
Raphael 'kena' Poss 2b46020ca0
feat: bracketed paste (#397)
* feat: bracketed paste

This introduces support for input via bracketed paste, where escape
characters in the pasted input are not interpreted.

Pasted input are marked as a special field in the KeyMsg. This is
useful because pasted input may need sanitation in individual widgets.

* fix(key): support bracketed paste with short reads

Some terminal emulators feed the bracketed paste data in multiple
chunks, which may not be aligned on a 256 byte boundary. So it's
possible for `input.Read` to return less than 256 bytes read
but while there's still more data to be read to complete a bracketed
paste input.

---------

Co-authored-by: Christian Muehlhaeuser <muesli@gmail.com>
2024-02-05 14:49:09 +01:00
Tim Mattison ab7e5ea8b2
chore(docs): remove the tea.EnterAltScreen from Init
Per the docs: 8f3464a756/screen.go (L29)
2024-01-22 09:04:26 -05:00
Sharun 8f3464a756
handle "q" for quitting in list-simple example (#839) 2024-01-11 10:38:58 -05:00
Maas Lalani 2d81a48614
chore(deps): change dependabot commit message to chore (from feat) (#899) 2024-01-11 10:35:58 -05:00
dependabot[bot] e88b618205
chore(deps): bump golang.org/x/term from 0.9.0 to 0.16.0 (#898)
* feat(deps): bump golang.org/x/term from 0.9.0 to 0.16.0

Bumps [golang.org/x/term](https://github.com/golang/term) from 0.9.0 to 0.16.0.
- [Commits](https://github.com/golang/term/compare/v0.9.0...v0.16.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): go mod tidy

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christian Rocha <christian@rocha.is>
2024-01-10 16:31:35 -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