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
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
1e2ffbbcf5
feat(textarea): get the word under the cursor ( #814 )
...
* feat(textarea): get the word under the cursor
* fix: lint
* Update textarea/textarea_test.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* test: fix
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
---------
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-16 16:15:46 -03:00
Carlos Alexandro Becker
bb6a2a461d
Merge remote-tracking branch 'origin/master' into v2-exp
2025-04-14 11:07:20 -03:00
Carlos Alexandro Becker and GitHub
8b55efb294
fix(textarea): placeholder with chinese chars ( #767 )
2025-03-31 19:55:03 -03:00
Carlos Alexandro Becker
9d2d5dfc71
Merge remote-tracking branch 'origin/master' into v2-exp
2025-03-31 14:20:56 -03:00
Carlos Alexandro Becker and GitHub
bd2a5b0c6a
fix: golangci-lint 2 fixes ( #769 )
2025-03-31 14:18:18 -03:00
Carlos Alexandro Becker
6a68f368a6
Merge remote-tracking branch 'origin/master' into v2-exp
2025-03-28 14:03:24 -03:00
Carlos Alexandro Becker
38200076b7
Merge branch 'UnseenBook/master' into v2-exp
2025-03-28 14:02:13 -03:00
Carlos Alexandro Becker and GitHub
3a0776eea3
Merge pull request #765 from charmbracelet/updates
...
fix(viewport): normalize method names
2025-03-27 21:05:37 -03:00
6f4a536421
Update viewport/viewport.go
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-03-27 16:51:54 -03:00
Carlos Alexandro Becker
b1cef26c7d
fix: normalize yoffset
2025-03-27 16:34:10 -03:00
Carlos Alexandro Becker
4286c736cd
Merge remote-tracking branch 'origin/master' into v2-exp
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
2025-03-27 16:17:34 -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
Carlos Alexandro Becker
acc929c43e
fix: lint
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
2025-03-25 13:42:02 -03:00
Carlos Alexandro Becker
d5bc1ac332
Merge remote-tracking branch 'origin/master' into v2-exp-update
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
2025-03-25 11:31:38 -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
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
Carlos Alexandro Becker
bd20b89a3e
fix(viewport): remove LineNumbersGutter
...
closes #738
2025-03-18 10:22:16 -03:00
Carlos Alexandro Becker
71493456d9
Merge remote-tracking branch 'origin/master' into v2-exp
2025-03-13 16:55:11 -03:00
Carlos Alexandro Becker and GitHub
4491afa808
feat(viewport): SetLines ( #728 )
2025-02-11 14:07:51 -03:00
Carlos Alexandro Becker and GitHub
c20ae83e2f
fix: lint issues ( #730 )
2025-02-10 16:00:55 -03:00
Carlos Alexandro Becker and GitHub
605d06c42b
feat: real cursor in textinput ( #727 )
2025-02-07 10:48:26 -03:00
Carlos Alexandro Becker and GitHub
64c16e990e
feat(v2)!: update to go 1.22 ( #724 )
...
* feat(v2)!: update to go 1.22
* fix: ci
* fix: more
2025-02-05 10:00:01 -03:00
edbb81c136
feat(viewport)!: gutter column, soft wrap, search highlight ( #697 )
...
* 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
* feat(viewport): column sign
* feat: gutter, soft wrap
* wip: search
* wip: search
* wip: search
* fix: perf
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
* fix: rename
* wip
* wip
* refactor: viewport highlight ranges
* fix: ligloss update
* doc: godoc
* feat: fill height optional
* fix: handle no content
* fix: empty lines
* wip
* wip
* Revert "wip"
This reverts commit 933f181e88405c21d65a08b816a88030806ca03e.
* Reapply "wip"
This reverts commit 0e3e31b70f53d93250a1474547cc5157d50e9237.
* fix: wide
* fix: wide, find
* still not quite there
* fix: grapheme width
* fix: cleanups
* fix: refactors, improves highlight visibility
* docs: godoc
* chore: lipgloss update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
* chore: x/ansi update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
* fix: typos, godocs
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
* fix: rename
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
* fix: typo
* fix: scroll when soft-wrapping
* fix: soft wrap adjustments
* fix: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
* fix: deps
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
---------
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
Co-authored-by: Roman Suvorov <suvorov83@gmail.com >
Co-authored-by: Roman Suvorov <tty2.rs@gmail.com >
Co-authored-by: Christian Rocha <christian@rocha.is >
2025-02-04 13:15:40 -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
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
Carlos Alexandro Becker
0c83e6f4c8
chore(deps): update
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
2025-01-15 12:25:09 -03:00
Carlos Alexandro Becker
fbe642df17
chore(deps): update
2025-01-14 15:34:37 -03:00
Carlos Alexandro Becker
3487634e4d
chore(deps): update ansi
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
2025-01-14 14:26:31 -03:00
Carlos Alexandro Becker
f28e78e6ab
Merge remote-tracking branch 'origin/master' into v2-exp
2025-01-14 14:22:36 -03: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
9a262e9b0f
fix: use atomic for ids ( #634 )
...
closes #622
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
Co-authored-by: Ville Valkonen <weezel@users.noreply.github.com >
2024-10-07 15:26:12 -03:00
Carlos Alexandro Becker and GitHub
d3bd075ed2
feat(cursor): focus/blur support ( #581 )
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
2024-09-05 14:10:05 -03:00
Carlos Alexandro Becker
ff5fb57861
ci: no announce
...
refs https://github.com/charmbracelet/bubbles/pull/526#discussion_r1715833029
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
2024-08-13 22:13:00 -03:00
Carlos Alexandro Becker
50b0bb0f3b
docs: fix typo
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
2024-05-14 22:21:14 -03:00
Carlos Alexandro Becker and GitHub
eed309fb7d
docs: fix list delegate et al links ( #467 )
2024-02-06 09:36:31 -05:00
Carlos Alexandro Becker and GitHub
7053a7d757
feat(deps): update fuzzy library ( #379 )
2023-06-14 11:10:57 -03:00
Carlos Alexandro Becker
7de306a57b
docs: update license
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
2023-05-11 12:37:25 +00:00
Carlos Alexandro Becker and Maas Lalani
7590e13c2a
fix: filepicker on empty directory
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
2023-05-01 09:58:44 -04:00
Carlos Alexandro Becker and GitHub
cd2593cfb7
feat: allow to set the height of the item ( #155 )
...
* feat: allow to set the height of the item
The user might want to show more than 2 lines, and, right now, if they
try to do so, things break.
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
* fix: short-circuit if width <= 0
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
* fix: height check
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
2022-05-24 15:00:35 -03:00
Carlos Alexandro Becker and GitHub
a7ea1bddbf
feat: stopwatch ( #68 )
...
* feat: stopwatch
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com >
2021-09-09 15:21:26 -04:00
Carlos Alexandro Becker and GitHub
7941c49504
feat: simple timer component ( #67 )
...
* feat: simple timer component
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com >
2021-09-09 15:17:33 -04:00