Commit graph

1888 commits

Author SHA1 Message Date
drew
b964df6c08
fix: fully restore the terminal when ClearScreen is used
Signed-off-by: drew <me@andrinoff.com>
2026-10-02 13:55:10 +04:00
Hsn
33f6a40ec0
docs: fix command and environment godoc examples (#1833) 2026-10-02 13:30:47 +04:00
陈志谦
ff51ba4c51
fix: prevent signal goroutine deadlock on shutdown (#1806) 2026-09-28 15:07:39 +04:00
drew
d5bfd5c2ff
v2.0.10
Signed-off-by: drew <me@andrinoff.com>
2026-09-24 12:06:39 +04:00
draw me an elephant
8b10e22689
fix: skip capability queries when input is disabled (#1801)
Co-authored-by: drew <me@andrinoff.com>
Signed-off-by: drew <me@andrinoff.com>
2026-09-24 12:05:48 +04:00
Drew Smirnoff
657aaae216
chore: bump go to 1.26.0 (#1807)
Signed-off-by: drew <me@andrinoff.com>
2026-09-17 12:08:29 +04:00
drew
73b6d91ac1
v2.0.9
Signed-off-by: drew <me@andrinoff.com>
2026-08-19 19:30:09 +04:00
deepakganesh78
0d3e281d14
fix: restore kitty keyboard stack on exit (#1750)
Co-authored-by: drew <me@andrinoff.com>
Signed-off-by: drew <me@andrinoff.com>
2026-08-19 15:56:33 +04:00
Ankit
930e18c966
fix: don't panic in ProgressBarState.String() for out-of-range values (#1748)
Co-authored-by: drew <me@andrinoff.com>
Signed-off-by: drew <me@andrinoff.com>
2026-08-19 12:21:01 +04:00
Drew Smirnoff
faf4dcf54a
fix: pendingErase in cursedRenderer (#1755)
Signed-off-by: drew <me@andrinoff.com>
2026-08-18 11:32:34 +04:00
Charm
351d2159f8
ci: sync dependabot config (#1763) 2026-08-12 17:36:40 -03:00
Ricardo-M-L
dc4b01750c
fix(key): map media record to ultraviolet code (#1757)
Co-authored-by: Ricardo-M-L <XuthodoreveraynWX61@elvisfan.com>
2026-08-11 16:43:12 +04:00
Kobi Hikri
708ee757a8
ci: fix examples workflow (#1734) 2026-08-10 15:55:28 +04:00
Bunlong Heng
1862dfba11
fix: assign MouseButton11 = uv.MouseButton11 (#1754) 2026-08-10 13:58:29 +04:00
Drew Smirnoff
0ef9fc90dc
fix: typo in doc (#1756)
Signed-off-by: drew <me@andrinoff.com>
2026-08-07 20:32:27 +04:00
Jason
af9a33e9c4
chore: remove deprecated windows note (#1695)
* remove deprecated windows note

* restart CI

---------

Co-authored-by: drew <me@andrinoff.com>
2026-08-06 16:20:53 +04:00
mhdna
882727b730
docs: fix links to tutorials & examples (#1645) 2026-08-06 16:20:16 +04:00
makoto-developer
6fb1f47b6c examples/sequence: fix milisecond typo in SleepPrintln
Rename the misspelled `milisecond` parameter to `millisecond`.

Signed-off-by: makoto-developer <72484465+makoto-developer@users.noreply.github.com>
2026-08-04 09:32:40 -04:00
Christian Rocha
d40db141fa docs: fix background color detection example in doc comment 2026-08-04 09:32:22 -04:00
Christian Rocha
fc707bb7ea chore(examples): go mod tidy 2026-07-02 21:53:21 -04:00
Christian Rocha
db569adcb4 chore(deps): bump ultraviolet for emoji-related rendering fixes 2026-07-02 21:53:21 -04:00
Christian Rocha
a23da80847
v2.0.7 2026-06-01 12:34:19 -04:00
Christian Rocha
670963e70b chore(task): add release and fetch-tags tasks 2026-06-01 12:32:36 -04:00
Christian Rocha
29c4c3269f fix(examples/deps): go mod tidy 2026-06-01 12:21:55 -04:00
Christian Rocha
878d7df2f2
chore(deps): bump ultraviolet for kitty keyboard fix 2026-06-01 12:06:31 -04:00
Liam Stanley
c60f0c5304
fix: prevent data race with cursedRenderer.onMouse (#1691)
- closes #1690
- adds `-race`, `-count`, and `-cpu`
- make all viable tests parallel

Signed-off-by: Liam Stanley <liam@liam.sh>
2026-05-11 21:11:40 -04:00
Christian Rocha
640d879396
docs(readme): update footer image 2026-04-23 11:13:37 -04:00
Andrey Nering
0fbefd21e0 chore: remove CODEOWNERS 2026-04-22 11:14:19 -03:00
chaoliang yan
074596e14e
fix: skip input reader restore when input is disabled (#1680)
Co-authored-by: lawrence3699 <lawrence3699@users.noreply.github.com>
2026-04-20 09:45:06 -04:00
Ayman Bagabas
fdcd0cfd59
chore: bump ultraviolet to 489999b90468 to fix a wide char issue
See: https://github.com/charmbracelet/ultraviolet/pull/109
2026-04-16 11:59:41 -04:00
Ayman Bagabas
1ed724a2d1
chore: bump ultraviolet to v0.0.0-20260413211237-bd52878bcec2 2026-04-13 17:13:18 -04:00
Ayman Bagabas
c8aaaba4f1
chore(examples): update lipgloss to v2.0.3 2026-04-13 13:16:09 -04:00
Ayman Bagabas
c788fe932e
chore: bump x/ansi to v0.11.7 to fix a width calculation bug 2026-04-13 13:02:12 -04:00
jjpinto
2e0dc62319
chore(examples): views: change KeyMsg to KeyPressMsg in Update function (#1611) 2026-04-13 10:43:59 -04:00
Ayman Bagabas
d1ec9826ad chore(tests): update testdata 2026-04-13 10:29:11 -04:00
Ayman Bagabas
48acc33417 chore: bump ultraviolet to v0.0.0-20260413133134-73592393e1ad
This includes a fix for #1613. See
https://github.com/charmbracelet/ultraviolet/commit/73592393e1ad for details.
2026-04-13 10:29:11 -04:00
Ayman Bagabas
ac355fe194
fix(renderer): restore tab stops if hard tabs are enabled (#1677)
When hard tabs are enabled, we optimize rendering by using actual tab
characters instead of spaces. This requires us to set tab stops every 8
columns at the beginning of the rendering process.

Fixes: https://github.com/charmbracelet/bubbletea/issues/1614
2026-04-13 10:28:52 -04:00
Ayman Bagabas
d81b6b6466
chore(examples): update dependencies and remove go-isatty 2026-04-13 10:13:27 -04:00
dependabot[bot]
7a2ea6ee3e
chore(deps): bump golang.org/x/sys in the all group (#1676)
Bumps the all group with 1 update: [golang.org/x/sys](https://github.com/golang/sys).


Updates `golang.org/x/sys` from 0.42.0 to 0.43.0
- [Commits](https://github.com/golang/sys/compare/v0.42.0...v0.43.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-version: 0.43.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-13 10:11:59 -04:00
Ayman Bagabas
a3d78073b7
fix(ci): only run build-examples on non-dependabot PRs 2026-04-13 10:02:55 -04:00
Cocoon-Break
729f05c315
fix: add missing signal.Stop in suspendProcess to prevent signal channel leak (Closes #1673) (#1674)
Each Ctrl+Z suspend call registered a SIGCONT channel via signal.Notify
but never called signal.Stop after receiving the signal. This caused a
signal channel leak on every suspend/resume cycle.

All other signal handlers in the codebase (handleSignals in tea.go and
listenForResize in signals_unix.go) correctly defer signal.Stop.

Signed-off-by: Cocoon-Break <54054995+kuishou68@users.noreply.github.com>
2026-04-13 08:46:47 -04:00
Ayman Bagabas
05df5aecf8
feat: support extended keyboard enhancements (#1626)
This adds support for the Kitty keyboard protocol's extended
enhancements, allowing applications to request that the terminal report
additional information about key events, such as whether they're part of
a repeat sequence, alternate key values, and associated text.

Supersedes: https://github.com/charmbracelet/bubbletea/pull/1622
Fixes: https://github.com/charmbracelet/bubbletea/issues/1621
Fixes: https://github.com/charmbracelet/bubbletea/issues/1623
2026-04-07 11:03:32 -04:00
Matthew Caswell
ee06e98c41
fix(examples): resolve nil pointer dereference (#1663) 2026-04-06 17:37:58 -04:00
dependabot[bot]
ba7c9b8ff5
chore(deps): bump github.com/lucasb-eyer/go-colorful in the all group (#1651)
Bumps the all group with 1 update: [github.com/lucasb-eyer/go-colorful](https://github.com/lucasb-eyer/go-colorful).


Updates `github.com/lucasb-eyer/go-colorful` from 1.3.0 to 1.4.0
- [Release notes](https://github.com/lucasb-eyer/go-colorful/releases)
- [Changelog](https://github.com/lucasb-eyer/go-colorful/blob/master/CHANGELOG.md)
- [Commits](https://github.com/lucasb-eyer/go-colorful/compare/v1.3.0...v1.4.0)

---
updated-dependencies:
- dependency-name: github.com/lucasb-eyer/go-colorful
  dependency-version: 1.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-06 17:37:24 -04:00
dependabot[bot]
ca81bbe83b
chore(deps): bump github.com/lucasb-eyer/go-colorful (#1649)
Bumps the all group in /examples with 1 update: [github.com/lucasb-eyer/go-colorful](https://github.com/lucasb-eyer/go-colorful).


Updates `github.com/lucasb-eyer/go-colorful` from 1.3.0 to 1.4.0
- [Release notes](https://github.com/lucasb-eyer/go-colorful/releases)
- [Changelog](https://github.com/lucasb-eyer/go-colorful/blob/master/CHANGELOG.md)
- [Commits](https://github.com/lucasb-eyer/go-colorful/compare/v1.3.0...v1.4.0)

---
updated-dependencies:
- dependency-name: github.com/lucasb-eyer/go-colorful
  dependency-version: 1.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-06 09:04:36 +00:00
dependabot[bot]
ada31e35b6
chore(deps): bump codecov/codecov-action from 5 to 6 in the all group (#1650)
Bumps the all group with 1 update: [codecov/codecov-action](https://github.com/codecov/codecov-action).


Updates `codecov/codecov-action` from 5 to 6
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-30 09:11:30 +00:00
Christian Rocha
bbe4faf35d
docs(example): add textarea dynamic height example (#1639) 2026-03-26 15:09:43 -04:00
Mahdi Nayef
7df1e650b3
fix(examples): migrate imports to charm.land for the glamour example (#1642)
Co-authored-by: Andrey Nering <andreynering@users.noreply.github.com>
2026-03-26 11:46:29 -03:00
dependabot[bot]
b427e77539
chore(deps): bump the all group with 2 updates (#1630)
Bumps the all group with 2 updates: [github.com/charmbracelet/colorprofile](https://github.com/charmbracelet/colorprofile) and [golang.org/x/sys](https://github.com/golang/sys).


Updates `github.com/charmbracelet/colorprofile` from 0.4.2 to 0.4.3
- [Release notes](https://github.com/charmbracelet/colorprofile/releases)
- [Commits](https://github.com/charmbracelet/colorprofile/compare/v0.4.2...v0.4.3)

Updates `golang.org/x/sys` from 0.41.0 to 0.42.0
- [Commits](https://github.com/golang/sys/compare/v0.41.0...v0.42.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/colorprofile
  dependency-version: 0.4.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: golang.org/x/sys
  dependency-version: 0.42.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-23 09:06:44 +00:00
github-actions[bot]
65c397863f
ci: sync golangci-lint config (#1556)
Co-authored-by: aymanbagabas <3187948+aymanbagabas@users.noreply.github.com>
2026-03-22 11:33:15 +03:00