Commit graph

612 commits

Author SHA1 Message Date
Drew Smirnoff
41bc626564
feat: OSC 7501 (#1841)
Signed-off-by: drew <me@andrinoff.com>
2026-10-08 21:36:08 +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
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
fc707bb7ea chore(examples): go mod tidy 2026-07-02 21:53:21 -04:00
Christian Rocha
29c4c3269f fix(examples/deps): go mod tidy 2026-06-01 12:21:55 -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
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
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
d81b6b6466
chore(examples): update dependencies and remove go-isatty 2026-04-13 10:13:27 -04:00
Matthew Caswell
ee06e98c41
fix(examples): resolve nil pointer dereference (#1663) 2026-04-06 17:37:58 -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
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]
f8926a7aa8
chore(deps): bump the all group in /examples with 2 updates (#1629)
Bumps the all group in /examples with 2 updates: [charm.land/lipgloss/v2](https://github.com/charmbracelet/lipgloss) and [github.com/charmbracelet/colorprofile](https://github.com/charmbracelet/colorprofile).


Updates `charm.land/lipgloss/v2` from 2.0.0 to 2.0.2
- [Release notes](https://github.com/charmbracelet/lipgloss/releases)
- [Commits](https://github.com/charmbracelet/lipgloss/compare/v2.0.0...v2.0.2)

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)

---
updated-dependencies:
- dependency-name: charm.land/lipgloss/v2
  dependency-version: 2.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: github.com/charmbracelet/colorprofile
  dependency-version: 0.4.3
  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>
2026-03-16 09:07:42 +00:00
Ayman Bagabas
bf89717024
chore(examples): update help example to use SetWidth 2026-03-11 18:18:16 +03:00
dependabot[bot]
ec39c45b4f
chore(deps): bump the all group in /examples with 3 updates (#1604)
Bumps the all group in /examples with 3 updates: [charm.land/bubbles/v2](https://github.com/charmbracelet/bubbles), [charm.land/lipgloss/v2](https://github.com/charmbracelet/lipgloss) and [github.com/charmbracelet/colorprofile](https://github.com/charmbracelet/colorprofile).


Updates `charm.land/bubbles/v2` from 2.0.0-beta.1.0.20251110211018-84a82dfeeed8 to 2.0.0
- [Release notes](https://github.com/charmbracelet/bubbles/releases)
- [Commits](https://github.com/charmbracelet/bubbles/commits/v2.0.0)

Updates `charm.land/lipgloss/v2` from 2.0.0-beta.3.0.20251205162909-7869489d8971 to 2.0.0
- [Release notes](https://github.com/charmbracelet/lipgloss/releases)
- [Commits](https://github.com/charmbracelet/lipgloss/commits/v2.0.0)

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

---
updated-dependencies:
- dependency-name: charm.land/bubbles/v2
  dependency-version: 2.0.0
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: charm.land/lipgloss/v2
  dependency-version: 2.0.0
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: github.com/charmbracelet/colorprofile
  dependency-version: 0.4.2
  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>
2026-03-09 14:25:25 +03:00
Shivang Srivastava
110a919113
fix(examples): add missing WithWidth to table example (#1598)
Without an explicit width, the table renders with no rows visible.
Width should be the sum of all column widths (34) plus borders (8) = 42.

Fixes #1597
2026-02-26 10:45:17 -03:00
Ayman Bagabas
203ae8f638
Merge branch 'main' into v2-exp 2026-02-10 15:45:29 +03:00
dependabot[bot]
cc2f03d45f
chore(deps): bump github.com/charmbracelet/bubbles (#1582)
Bumps the all group in /examples with 1 update: [github.com/charmbracelet/bubbles](https://github.com/charmbracelet/bubbles).


Updates `github.com/charmbracelet/bubbles` from 0.21.0 to 0.21.1
- [Release notes](https://github.com/charmbracelet/bubbles/releases)
- [Commits](https://github.com/charmbracelet/bubbles/compare/v0.21.0...v0.21.1)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbles
  dependency-version: 0.21.1
  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>
2026-02-09 11:10:12 +00:00
Ayman Bagabas
30878e43d7
chore: upgrade ultraviolet to the latest version 2026-02-09 10:46:36 +03:00
Ayman Bagabas
b65daeb9d4
fix(examples): capability make sure input is focused on start 2026-01-30 08:29:50 +03:00
Ayman Bagabas
7ae2c09f32
chore(examples): update lipgloss to v2.0.0-beta.3.0.20251205162909-7869489d8971 2026-01-13 14:58:31 -05:00
Ayman Bagabas
6348bd4b74
chore: bump uv to fix non en lang rendering issues
Fixes: https://github.com/charmbracelet/crush/issues/1613
2025-12-12 14:41:16 -05:00
Ayman Bagabas
9ed8357ca9
chore: bump dependencies for v2-exp 2025-12-11 14:57:57 -05:00
Ayman Bagabas
3f03681120
chore: bump ultraviolet to fix scroll empty line bug 2025-12-10 18:34:56 -05:00
Ayman Bagabas
69636dd062
chore: bump ultraviolet to fix cursor movement issue that cause artifacts 2025-12-10 17:31:39 -05:00
Ayman Bagabas
c50235b46f
chore: remove local replace of ultraviolet in examples go.mod 2025-12-10 17:15:02 -05:00
Ayman Bagabas
9e01328aa1
chore: bump ultraviolet to control renderer scroll optimization 2025-12-10 15:40:18 -05:00
Ayman Bagabas
5fa38b798f
chore: bump ultraviolet to fix rendering issues with unnecessary cursor
movements and erasing line background color
2025-12-02 11:23:39 -05:00
Ayman Bagabas
551c60ee5a
chore: bump dependencies 2025-12-01 13:41:11 -05:00
Ayman Bagabas
ba8f605823
fix: go.mod and go.sum to use lipgloss v2 2025-11-24 12:10:14 -05:00
Ayman Bagabas
e02ba76901
chore(examples): update to bubbletea v2 onMouse callback 2025-11-24 10:58:40 -05:00
Ayman Bagabas
e78528df79
chore(examples): update clickable example to use v2 callback for layer hit detection 2025-11-20 18:46:00 -05:00
Ayman Bagabas
42f01c6c2b
chore: bump ultraviolet dependency to latest 2025-11-16 14:53:26 -05:00
Ayman Bagabas
f60735dff1
chore: bump dependencies 2025-11-16 11:39:36 -05:00
Ayman Bagabas
6dfb88719d
chore: bump ultraviolet to 20251114211315-f6a8e3732033 2025-11-14 16:14:24 -05:00
Ayman Bagabas
78766cd0ca
fix(examples): use updated progress bar blend api 2025-11-14 14:46:54 -05:00
Ayman Bagabas
befc5a4e93
chore: bump dependencies to use uv helpers 2025-11-14 12:45:37 -05:00
Ayman Bagabas
d88ab58421
feat: renderer: use uv altscreen helpers 2025-11-14 10:57:16 -05:00
Ayman Bagabas
39f38b1640
Merge branch 'v2-exp' into charm-853-cursor-flash-interruptions-mode-2026 2025-11-14 10:33:01 -05:00
Ayman Bagabas
8f17c3584f
fix(examples): revert textarea pointers to values
Fixes: 6a65a1f (chore(docs): update examples and dependencies for v2-exp)
2025-11-13 16:40:47 -05:00
Ayman Bagabas
b1241c920a
chore(examples): go mod tidy 2025-11-13 13:59:29 -05:00
Ayman Bagabas
39e9984571
chore: bump dependencies for v2-exp 2025-11-12 11:31:08 -05:00
Andrey Nering
c2414242ba chore(examples): go mod tidy 2025-11-10 10:42:43 -03:00
sunnyraindy
ece00b4f40
refactor: remove unused max func (#1537)
Signed-off-by: sunnyraindy <sunnyraindy@outlook.com>
2025-11-10 10:42:17 -03:00
Ayman Bagabas
579e174cd7
chore: bump dependencies for v2-exp 2025-11-06 14:59:25 -05:00
Ayman Bagabas
a1ecb94bda
refactor: rename View.Layer to View.Content for clarity (#1536) 2025-11-06 13:57:47 -05:00