Ayman Bagabas
f3f0ca0fe2
fix(lint): exclude var-naming rule for revive
2026-02-24 14:13:49 +03:00
Christian Rocha and GitHub
251e612949
fix(filepicker): fix a panic due to an unchecked assertion ( #891 )
2026-02-24 14:05:58 +03:00
c81d525337
docs(readme): update for v2 ( #888 )
...
Co-authored-by: Christian Rocha <christian@rocha.is >
2026-02-23 18:00:24 -05:00
Ayman Bagabas
af98365cc6
fix: lint issues
2026-02-23 23:18:55 +03:00
Ayman Bagabas
f744b929dd
fix(ci): use local golangci-lint config
2026-02-23 23:18:34 +03:00
24081b3590
docs: add v2 upgrade and changes guide ( #885 )
...
* docs: add v2 upgrade and changes guide
* Update UPGRADE_GUIDE_V2.md
Co-authored-by: Andrey Nering <andreynering@users.noreply.github.com >
---------
Co-authored-by: Andrey Nering <andreynering@users.noreply.github.com >
2026-02-17 17:08:47 +03:00
Justin Chadwell and GitHub
d004225e8c
fix(table): use ansi.Truncate instead of runewidth.Truncate ( #884 )
...
`runewidth.Truncate` does not consider terminal escape characters - this
means that if a table cell contains funky characters, then it will be
incorrectly truncated.
Signed-off-by: Justin Chadwell <me@jedevc.com >
2026-02-13 09:45:48 -03:00
Ayman Bagabas
cc76d4176d
Merge branch 'master' into v2-exp
2026-02-10 15:13:42 +03:00
Christian Rocha
97b179b26e
chore: update LICENSE copyright
2026-02-09 20:49:06 -05:00
4824effc3f
chore(deps): bump github.com/charmbracelet/x/ansi in the all group ( #859 )
...
Bumps the all group with 1 update: [github.com/charmbracelet/x/ansi](https://github.com/charmbracelet/x ).
Updates `github.com/charmbracelet/x/ansi` from 0.10.2 to 0.11.0
- [Commits](https://github.com/charmbracelet/x/compare/ansi/v0.10.2...ansi/v0.11.0 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/x/ansi
dependency-version: 0.11.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>
v1.0.0
2026-02-09 11:18:24 +00:00
atennop and GitHub
d0166363eb
fix: changed 'recieve' to 'receive' for 100% quality of Go Report Card ( #881 )
2026-02-04 17:44:57 +03:00
Ayman Bagabas
9329772de6
chore: update dependencies
...
Update x/ansi to v0.11.5 and so that ansi.Parser pool uses less memory.
Fixes: https://github.com/charmbracelet/bubbles/issues/829
v0.21.1
2026-02-03 10:00:30 +03:00
Carlos Alexandro Becker and GitHub
ae99f46cec
feat(v2/textarea): expose Column(), clarify 0-indexing ( #875 )
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
2026-01-09 08:28:49 -03:00
Ayman Bagabas
93a004ab70
fix(viewport): optimize subline splitting by skipping lines without line endings
2025-12-08 12:18:59 -05:00
ff8b5a8e17
chore(deps): bump actions/checkout from 5 to 6 in the all group ( #863 )
...
Bumps the all group with 1 update: [actions/checkout](https://github.com/actions/checkout ).
Updates `actions/checkout` from 5 to 6
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/checkout
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>
2025-11-24 10:53:14 +00:00
Ayman Bagabas
538d39c727
refactor(help): use setter/getter for help width
v2.0.0-rc.1
2025-11-17 15:48:30 -05:00
84a82dfeee
chore(textarea): remove pointer receiver on update and view ( #858 )
...
Co-authored-by: Ayman Bagabas <ayman.bagabas@gmail.com >
2025-11-10 16:10:18 -05:00
Liam Stanley and GitHub
faa17cbbd6
feat(progress): support multiple stops and improved blend algorithm ( #838 )
2025-11-10 15:53:59 -05:00
Ayman Bagabas
5fdd73f350
chore: format file imports with gofumpt
2025-11-10 15:49:13 -05:00
Ayman Bagabas
c2b822795a
chore: bump dependencies to include latest ultraviolet changes
2025-11-06 14:27:19 -05:00
Ayman Bagabas
da0b892d17
refactor: migrate imports to charm.land/lipgloss
2025-11-04 15:02:23 -05:00
Ayman Bagabas
a10cfddef9
chore: update import paths from github.com/charmbracelet/bubbles/v2 to charm.land/bubbles/v2
2025-11-04 14:57:00 -05:00
Ayman Bagabas
07735d1672
refactor: update module path to charm.land
2025-11-04 14:56:50 -05:00
Ayman Bagabas
84fd71dae6
fix: use charm.land import path for bubbletea
2025-11-04 14:54:08 -05:00
Ayman Bagabas
ffc9ec20b7
chore(table): update golden files for view and alignment tests
2025-11-04 14:25:12 -05:00
Ayman Bagabas
e8fcfc5ff7
refactor: use msg.Content for PasteMsg in textinput and textarea
2025-11-04 14:25:01 -05:00
Ayman Bagabas
51876414e2
chore: bump dependencies
2025-11-04 14:24:49 -05:00
62c791108e
chore(deps): bump the all group with 2 updates ( #855 )
...
Bumps the all group with 2 updates: [github.com/charmbracelet/x/ansi](https://github.com/charmbracelet/x ) and [github.com/mattn/go-runewidth](https://github.com/mattn/go-runewidth ).
Updates `github.com/charmbracelet/x/ansi` from 0.10.1 to 0.10.2
- [Commits](https://github.com/charmbracelet/x/compare/ansi/v0.10.1...ansi/v0.10.2 )
Updates `github.com/mattn/go-runewidth` from 0.0.17 to 0.0.19
- [Commits](https://github.com/mattn/go-runewidth/compare/v0.0.17...v0.0.19 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/x/ansi
dependency-version: 0.10.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: github.com/mattn/go-runewidth
dependency-version: 0.0.19
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-06 09:08:52 +00:00
Carlos Alexandro Becker
f03bfcc799
Merge remote-tracking branch 'origin/master' into v2-exp
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
2025-10-01 17:29:32 -03:00
Carlos Alexandro Becker
e606fbca6a
chore(deps): update
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
2025-10-01 17:28:18 -03:00
Carlos Alexandro Becker and GitHub
49ff5c03b7
fix(textinput): improve placeholder ( #768 )
...
similar to #767 but for textinputs
2025-10-01 10:22:53 -03:00
c2223a7c4f
fix(list): ensure correct cursor positions with page/cursor methods ( #831 ) ( #837 )
...
Co-authored-by: Christian Rocha <christian@rocha.is >
2025-09-29 14:38:47 -04:00
d6934a175b
chore(deps): bump github.com/mattn/go-runewidth in the all group ( #852 )
...
Bumps the all group with 1 update: [github.com/mattn/go-runewidth](https://github.com/mattn/go-runewidth ).
Updates `github.com/mattn/go-runewidth` from 0.0.16 to 0.0.17
- [Commits](https://github.com/mattn/go-runewidth/compare/v0.0.16...v0.0.17 )
---
updated-dependencies:
- dependency-name: github.com/mattn/go-runewidth
dependency-version: 0.0.17
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-29 10:54:36 +00:00
Liam Stanley and GitHub
bc03e71e42
feat(textarea): add PageUp & PageDown support ( #844 )
...
Signed-off-by: Liam Stanley <liam@liam.sh >
2025-09-23 09:04:39 -03:00
f2d12667c4
chore(deps): bump github.com/charmbracelet/bubbletea in the all group ( #850 )
...
Bumps the all group with 1 update: [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea ).
Updates `github.com/charmbracelet/bubbletea` from 1.3.9 to 1.3.10
- [Release notes](https://github.com/charmbracelet/bubbletea/releases )
- [Changelog](https://github.com/charmbracelet/bubbletea/blob/main/.goreleaser.yml )
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v1.3.9...v1.3.10 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
dependency-version: 1.3.10
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-22 09:16:56 +00:00
5caedd7607
chore(deps): bump the all group with 2 updates ( #848 )
...
Bumps the all group with 2 updates: [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea ) and [github.com/lucasb-eyer/go-colorful](https://github.com/lucasb-eyer/go-colorful ).
Updates `github.com/charmbracelet/bubbletea` from 1.3.7 to 1.3.9
- [Release notes](https://github.com/charmbracelet/bubbletea/releases )
- [Changelog](https://github.com/charmbracelet/bubbletea/blob/main/.goreleaser.yml )
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v1.3.7...v1.3.9 )
Updates `github.com/lucasb-eyer/go-colorful` from 1.2.0 to 1.3.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.2.0...v1.3.0 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
dependency-version: 1.3.9
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: github.com/lucasb-eyer/go-colorful
dependency-version: 1.3.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>
2025-09-15 09:56:29 +00:00
cfdc19ba97
chore(deps): bump actions/setup-go from 5 to 6 in the all group ( #842 )
...
Bumps the all group with 1 update: [actions/setup-go](https://github.com/actions/setup-go ).
Updates `actions/setup-go` from 5 to 6
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/setup-go
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>
2025-09-15 09:06:26 +00:00
Liam Stanley and GitHub
7445f97348
refactor(viewport): softwrap; improve perf; various bug fixes ( #823 )
2025-09-12 13:24:49 -04:00
Liam Stanley and GitHub
50038ebdab
fix(textarea): ensure cursor is always in view ( #840 )
...
Signed-off-by: Liam Stanley <liam@liam.sh >
2025-09-08 16:15:25 -04:00
3532a32914
chore(deps): bump github.com/charmbracelet/bubbletea in the all group ( #841 )
...
Bumps the all group with 1 update: [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea ).
Updates `github.com/charmbracelet/bubbletea` from 1.3.6 to 1.3.7
- [Release notes](https://github.com/charmbracelet/bubbletea/releases )
- [Changelog](https://github.com/charmbracelet/bubbletea/blob/main/.goreleaser.yml )
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v1.3.6...v1.3.7 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
dependency-version: 1.3.7
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-08 09:18:08 +00:00
7c44f63d31
v1: fix(list): ensure correct cursor positions with page/cursor methods ( #831 )
...
* fix(list): misc cursor position fixes
Signed-off-by: Liam Stanley <liam@liam.sh >
* chore(list): add low/high check in clamp
---------
Signed-off-by: Liam Stanley <liam@liam.sh >
Co-authored-by: Christian Rocha <christian@rocha.is >
2025-09-01 09:50:17 -04:00
Liam Stanley and Christian Rocha
c690ea5e0f
feat(textarea): add ScrollYOffset and ScrollPosition methods
...
Signed-off-by: Liam Stanley <liam@liam.sh >
2025-09-01 09:36:08 -04:00
Charm and GitHub
4b2d311076
ci: sync dependabot config ( #835 )
2025-08-26 13:01:25 -03:00
Ayman Bagabas and GitHub
601216f68e
Merge pull request #822 from charmbracelet/textarea/set-vp-content
...
fix(textarea): ensure viewport content is set during update
2025-08-20 16:36:09 -04:00
6de30985f1
chore(deps): bump actions/checkout from 4 to 5 ( #828 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
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>
2025-08-18 12:54:20 +00:00
Christian Rocha
7fcf75da53
docs(readme): update footer image and copyright date
2025-08-13 08:11:33 -04:00
3cadd53d27
chore(deps): bump github.com/charmbracelet/x/ansi from 0.9.3 to 0.10.1 ( #826 )
...
Bumps [github.com/charmbracelet/x/ansi](https://github.com/charmbracelet/x ) from 0.9.3 to 0.10.1.
- [Commits](https://github.com/charmbracelet/x/compare/ansi/v0.9.3...ansi/v0.10.1 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/x/ansi
dependency-version: 0.10.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-11 13:25:27 +00:00
Ayman Bagabas
86f3326295
fix(textarea): update tests to reflect changes in textarea content
2025-08-07 10:45:36 -04:00
Ayman Bagabas
efdc0e8e45
fix(textarea): use pointer receiver for Model methods
2025-08-07 10:45:21 -04:00
Ayman Bagabas
c4068c642c
fix(textarea): ensure viewport content is set during update
...
This ensures that the viewport content is set and persisted correctly.
Setting the content during View won't doesn't work because it mutates a
copy of the model instead without persisting the changes. Moreover, any
after effects of setting the content won't be visible because the next
Update will be called on the older model, not the new one.
2025-08-01 12:22:10 -04:00