d66fddf5e7
chore(deps): bump github.com/charmbracelet/bubbletea from 1.3.5 to 1.3.6 ( #813 )
...
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea ) from 1.3.5 to 1.3.6.
- [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.5...v1.3.6 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
dependency-version: 1.3.6
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-14 11:56:01 +00:00
23b8fd6302
chore(deps): bump github.com/charmbracelet/x/ansi from 0.9.2 to 0.9.3 ( #803 )
...
Bumps [github.com/charmbracelet/x/ansi](https://github.com/charmbracelet/x ) from 0.9.2 to 0.9.3.
- [Commits](https://github.com/charmbracelet/x/compare/ansi/v0.9.2...ansi/v0.9.3 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/x/ansi
dependency-version: 0.9.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-23 10:34:23 +00:00
8e4b39d634
chore(deps): bump github.com/aymanbagabas/go-udiff from 0.2.0 to 0.3.1 ( #798 )
...
Bumps [github.com/aymanbagabas/go-udiff](https://github.com/aymanbagabas/go-udiff ) from 0.2.0 to 0.3.1.
- [Release notes](https://github.com/aymanbagabas/go-udiff/releases )
- [Commits](https://github.com/aymanbagabas/go-udiff/compare/v0.2.0...v0.3.1 )
---
updated-dependencies:
- dependency-name: github.com/aymanbagabas/go-udiff
dependency-version: 0.3.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-06-09 10:01:44 +00:00
Broderick Westrope and GitHub
f54a125f7d
test(table): improve table unit tests ( #601 )
2025-05-16 14:13:06 -03:00
Broderick Westrope and Christian Rocha
dff42ddb7c
feat: update keybindings in list setSize method
2025-05-16 10:03:59 -04:00
6157198699
chore(deps): bump github.com/charmbracelet/x/ansi from 0.8.0 to 0.9.2 ( #788 )
...
Bumps [github.com/charmbracelet/x/ansi](https://github.com/charmbracelet/x ) from 0.8.0 to 0.9.2.
- [Commits](https://github.com/charmbracelet/x/compare/ansi/v0.8.0...ansi/v0.9.2 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/x/ansi
dependency-version: 0.9.2
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-05-05 09:40:45 +00:00
5348e15465
chore(deps): bump github.com/charmbracelet/bubbletea from 1.3.4 to 1.3.5 ( #787 )
...
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea ) from 1.3.4 to 1.3.5.
- [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.4...v1.3.5 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
dependency-version: 1.3.5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-05 09:35:08 +00:00
DryHumour and GitHub
c376ce3ef1
fix(cursor): fix data race on blinkTag ( #784 )
2025-04-30 10:45:41 -04:00
Charm and GitHub
daab808a4d
ci: sync dependabot config ( #786 )
2025-04-28 09:10:04 -03:00
8562e9075f
ci: sync golangci-lint config ( #781 )
...
Co-authored-by: aymanbagabas <3187948+aymanbagabas@users.noreply.github.com >
2025-04-23 15:12:25 +02:00
ShalokShalom and GitHub
d4feefed7d
docs: remove Charm Cloud reference ( #785 )
...
Remove a reference to charm
2025-04-23 15:10:13 +02:00
🅡🅐🅟🅗🅐 and GitHub
591f42904a
Merge pull request #783 from s0ders/fix/table-cursor-out-of-bounds
...
fix(table): preventing cursor from being out-of-bounds.
2025-04-22 16:43:16 +02:00
s0ders
11d52ca426
fix(table): preventing cursor from being out-of-bounds.
...
The following brings:
- Preventing table's cursor from being out-of-bound when the table's
rows shrink.
ref: #782
2025-04-22 13:52:57 +02:00
Andrey Nering
3e2a8caedb
chore: fix lint warning
2025-04-10 10:33:29 -03:00
Carlos Alexandro Becker and GitHub
8b55efb294
fix(textarea): placeholder with chinese chars ( #767 )
v0.21.0
2025-03-31 19:55:03 -03:00
Carlos Alexandro Becker and GitHub
bd2a5b0c6a
fix: golangci-lint 2 fixes ( #769 )
2025-03-31 14:18:18 -03:00
cce848148c
ci: sync golangci-lint config ( #770 )
...
Co-authored-by: caarlos0 <245435+caarlos0@users.noreply.github.com >
2025-03-31 14:15:13 -03:00
Unseen Daan and GitHub
ea344ab907
feat(viewport): horizontal scroll with mouse wheel ( #761 )
...
Add support for the events of a horizontal mouse wheel and when holding
shift while using the regular mouse wheel now scrolls the screen left
and right.
2025-03-28 13:59:12 -03:00
Carlos Alexandro Becker and GitHub
39668ec629
fix(viewport): normalize method names ( #763 )
...
* Reapply "fix(viewport): normalize method names"
This reverts commit f2434c374b .
* test: fixes
* fix: lint
* fix: disable horizontal scroll on v1
it might be a breaking change.
let's enable it by default on v2, and remove the deprecated methods as
well.
cc/ @meowgorithm
* fix: simplify
2025-03-27 16:11:34 -03:00
Carlos Alexandro Becker
f2434c374b
Revert "fix(viewport): normalize method names"
...
This reverts commit c7f889e364 .
accidental push to master
2025-03-26 17:07:26 -03:00
Carlos Alexandro Becker
c7f889e364
fix(viewport): normalize method names
2025-03-26 17:07:04 -03:00
bashbunni and GitHub
9e5365e0ec
docs: add example for ValidateFunc ( #705 )
...
* docs(textinput): add ValidateFunc example
* chore: remove print statement
* chore: rename the -> this anonymous func
2025-03-25 10:51:14 -03:00
c814ac75c3
chore(deps): bump github.com/charmbracelet/lipgloss from 1.0.0 to 1.1.0 ( #751 )
...
Bumps [github.com/charmbracelet/lipgloss](https://github.com/charmbracelet/lipgloss ) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/charmbracelet/lipgloss/releases )
- [Changelog](https://github.com/charmbracelet/lipgloss/blob/master/.goreleaser.yml )
- [Commits](https://github.com/charmbracelet/lipgloss/compare/v1.0.0...v1.1.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 >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-25 10:42:23 -03:00
3befcccf87
chore(deps): bump github.com/muesli/termenv from 0.15.2 to 0.16.0 ( #740 )
...
Bumps [github.com/muesli/termenv](https://github.com/muesli/termenv ) from 0.15.2 to 0.16.0.
- [Release notes](https://github.com/muesli/termenv/releases )
- [Commits](https://github.com/muesli/termenv/compare/v0.15.2...v0.16.0 )
---
updated-dependencies:
- dependency-name: github.com/muesli/termenv
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-03-25 10:42:12 -03:00
Carlos Alexandro Becker and GitHub
0305695768
ci: test on oldstable and stable go versions, automerge dependabot ( #755 )
2025-03-25 10:41:59 -03:00
4e8b6b2043
chore(deps): bump github.com/charmbracelet/bubbletea from 1.1.2 to 1.3.4 ( #745 )
...
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea ) from 1.1.2 to 1.3.4.
- [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.1.2...v1.3.4 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
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-03-25 10:25:04 -03:00
43aa82c87e
feat(deps): bump github.com/charmbracelet/x/ansi ( #716 )
...
Bumps [github.com/charmbracelet/x/ansi](https://github.com/charmbracelet/x ) from 0.6.1-0.20250107110353-48b574af22a5 to 0.8.0.
- [Release notes](https://github.com/charmbracelet/x/releases )
- [Commits](https://github.com/charmbracelet/x/commits/ansi/v0.8.0 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/x/ansi
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-03-25 10:24:46 -03:00
d58217bded
ci: sync golangci-lint config ( #750 )
...
Co-authored-by: aymanbagabas <3187948+aymanbagabas@users.noreply.github.com >
2025-03-25 10:24:22 -03:00
Carlos Alexandro Becker
d91c9aa894
ci: rm .golangci-soft.yml
2025-03-25 10:23:38 -03:00
Carlos Alexandro Becker and GitHub
54f28b6501
fix(filepicker): properly scrolling filepicker ( #753 )
...
* fix(filepicker): properly scrolling filepicker
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
* fix: SetHeight
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
---------
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
2025-03-20 14:00:29 -03:00
Andrey Nering
fff86382cc
chore(lint): remove custom min and max functions
...
These are now available as builtins.
2025-03-20 10:42:52 -03:00
Andrey Nering
76433f7143
ci: fix linting on windows
2025-03-20 10:42:52 -03:00
Andrey Nering
976d9a1108
chore(go.mod): update to go 1.23
2025-03-20 10:42:52 -03:00
Andrey Nering
06824cb77d
chore: add taskfile
2025-03-20 10:42:52 -03:00
Michał Kotowski and Christian Rocha
cdc743f1f4
chore(links): switch bubbletea links to use main
...
Cosmetic change.
Old links used `master` as the main branch. Resulting in GitHub
redirecting to the correct default branch and displaying:
> Branch not found, redirected to default branch.
Signed-off-by: Michał Kotowski <dev@mkotowski.dev >
2025-03-05 06:57:17 -05:00
Charm and GitHub
7a6b190840
ci: sync dependabot config ( #736 )
2025-02-13 11:29:08 -03:00
Charm and GitHub
2f4944346f
ci: sync dependabot config ( #734 )
2025-02-13 10:58:35 -03:00
Pierre Rossi and Christian Rocha
0f9e38c9a7
Don't render suggestions when textinput is not focused.
...
This can look confusing in forms otherwise.
2025-01-28 09:24:43 -05:00
1bdd4c6fb3
fix: stopwatch.Start() ( #707 )
...
Signed-off-by: Bence Vidosits <bence.vidosits1@ibm.com >
Co-authored-by: Bence Vidosits <bence.vidosits1@ibm.com >
2025-01-22 09:10:20 -03:00
Carlos Alexandro Becker and GitHub
7ab08fb438
fix(viewport): scroll to last line when borders ( #706 )
...
If the viewport has borders, they are not currently taken into account
when calculating the viewport max y offset, which might cause the last
line to not be visible.
This is easily reproducible in `gum pager`.
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
2025-01-21 19:31:03 -03:00
bashbunni and GitHub
e3ce11a65f
docs: update charm & friends blurb ( #703 )
...
* docs: update charm & friends blurb
* docs: simplify messaging, link to instructions
2025-01-17 12:48:08 -08:00
87a4e45a58
docs: additional bubbles ( #583 )
...
* docs: additional bubbles
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
* Update README.md
Co-authored-by: bashbunni <15822994+bashbunni@users.noreply.github.com >
* Update README.md
Co-authored-by: Christian Rocha <christian@rocha.is >
* Update README.md
Co-authored-by: Christian Rocha <christian@rocha.is >
---------
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
Co-authored-by: bashbunni <15822994+bashbunni@users.noreply.github.com >
Co-authored-by: Christian Rocha <christian@rocha.is >
2025-01-17 12:32:41 -08:00
2d53a618a9
feat(viewport): horizontal scroll ( #240 )
...
* horizontal scroll
* rebase branch
* add tests
* add tests with 2 cells symbols
* trimLeft, move to charmbracelete/x/ansi lib
* up ansi package
* Update viewport/viewport.go
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
* fix: do not navigate out to the right
* fix: cache line width on setcontent
* fix tests
* fix viewport tests
* add test for preventing right overscroll
* chore(viewport): increase horizontal step to 6
* chore(viewport): make horizontal scroll API better match vertical scroll API
* fix: nolint
* fix: use ansi.Cut
* perf: do not cut anything if not needed
* feat: expose HorizontalScrollPercent
* fix: do not scroll if width is 0
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
* fix: visible lines take frame into account
---------
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
Co-authored-by: Christian Rocha <christian@rocha.is >
2025-01-10 08:38:48 -03:00
8624776d45
fix(textinput): slicing outside cap ( #532 )
...
* textinput: fix slicing outside cap
* textinput: add test that makes slicing outside cap occur
* chore: tidy with gofmt
---------
Co-authored-by: bashbunni <bunni@bashbunni.dev >
2024-12-05 13:40:33 -08:00
Carlos Alexandro Becker and GitHub
e5296a2b0f
ci: fix goreleaser config ( #668 )
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
2024-11-15 19:00:41 -03:00
Christian Rocha
398e92c5ae
fix: remove default character limit
2024-11-15 08:30:03 -05:00
Christian Rocha
f439d83043
fix(textarea): max height should not determine max lines
...
Fixes #671 .
2024-11-15 08:30:03 -05:00
Christian Rocha
730f5a29e2
fix: debounce stopwatch and timer
...
This keeps them from ticking too fast.
Fixes #661 .
2024-11-05 22:06:53 -05:00
aymanbagabas and Christian Rocha
20a65e5655
chore(ci): sync golangci-lint config
2024-11-04 09:07:12 -05:00
db3514caa7
feat(deps): bump github.com/charmbracelet/lipgloss from 0.13.1 to 1.0.0 ( #655 )
...
Bumps [github.com/charmbracelet/lipgloss](https://github.com/charmbracelet/lipgloss ) from 0.13.1 to 1.0.0.
- [Release notes](https://github.com/charmbracelet/lipgloss/releases )
- [Changelog](https://github.com/charmbracelet/lipgloss/blob/master/.goreleaser.yml )
- [Commits](https://github.com/charmbracelet/lipgloss/compare/v0.13.1...v1.0.0 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/lipgloss
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>
2024-11-01 15:07:07 -03:00