Commit graph

1591 commits

Author SHA1 Message Date
Ayman Bagabas
3dc93803f9
Merge branch 'nested-seqmsg' into v2-exp-nested-seqmsg 2025-08-07 11:33:28 -04:00
Ayman Bagabas
2a50aab42d
fix: handle nested SequenceMsg in event loop and use sync.WaitGroup for BatchMsg
This simplifies the handling of nested BatchMsg within sequenceMsg and ensures
that all commands in a BatchMsg are executed before proceeding.
It also replaces errgroup with sync.WaitGroup for better clarity and performance
when waiting for multiple goroutines to finish.

Fixes: https://github.com/charmbracelet/bubbletea/issues/680
Supersedes: https://github.com/charmbracelet/bubbletea/pull/843
2025-08-07 11:30:33 -04:00
Ayman Bagabas
9ef921ab1f
Merge branch 'main' into v2-exp 2025-08-07 11:21:53 -04:00
Joe Henke
c76509a9d4
fix: compact sequences like batches (#958) 2025-08-07 11:19:00 -04:00
Ayman Bagabas
ec08f6f335
chore: examples: update dependencies 2025-08-06 10:06:18 -04:00
Ayman Bagabas
b149293c83
chore: bump ultraviolet and ansi dependencies 2025-08-05 17:36:52 -04:00
Ayman Bagabas
aa832ac614
chore: bump x/ansi to v0.10.0 2025-08-05 15:21:24 -04:00
Ayman Bagabas
70e94a2e0b
fix(keyboard): use kitty keyboard state command
Kitty keyboard can be set to a specific state instead of using the
push/pop stack approach. The latter might break and sometimes won't work
with things like Zellij.
2025-08-05 15:03:05 -04:00
Ayman Bagabas
56ff7146d5
fix(renderer): reset cursor style on close 2025-07-30 12:57:37 -04:00
Yongteng Lei
c30088fd4e
chore: correct DisableBracketedPaste behavior in comment (#1458) 2025-07-28 10:01:06 -04:00
Ayman Bagabas
5ba56e2bec
chore: go mod tidy 2025-07-24 13:26:07 -04:00
Ayman Bagabas
875f553628
fix: disable modifyOtherKeys for tmux 2025-07-22 16:59:12 -04:00
yingshanghuangqiao
b6958d3adc chore: fix some comments
Signed-off-by: yingshanghuangqiao <yingshanghuangqiao@foxmail.com>
2025-07-22 13:11:26 -04:00
Christian Rocha
c3136ed490
docs(license): update copyright date range 2025-07-22 11:59:54 -04:00
Ayman Bagabas
7684eeaf9c
chore: bump ultraviolet 2025-07-21 16:57:15 -04:00
Ayman Bagabas
8babccdaff
chore: bump ultraviolet to latest 2025-07-21 16:53:17 -04:00
Ayman Bagabas
bb75e8f6b6
Merge pull request #1452 from charmbracelet/v2-exp-tv-io-viewable
[v2] Use Ultraviolet
2025-07-17 10:03:50 -04:00
Ayman Bagabas
5ca4720ce1
chore: fix lint issues 2025-07-16 17:20:11 -04:00
Ayman Bagabas
9bfcf3f7ff
chore(examples): update lipgloss to latest v2-exp 2025-07-16 17:14:38 -04:00
Ayman Bagabas
7d819d88e2
chore(examples): update go.mod and go.sum 2025-07-16 15:01:21 -04:00
Ayman Bagabas
d6c0563d7c chore: tests: update testdata for windows 2025-07-16 14:59:50 -04:00
Ayman Bagabas
e58f3ca111
chore: tests: update golden files for the new renderer 2025-07-16 13:27:34 -04:00
Ayman Bagabas
5d1379f56b
chore: bump ultraviolet 2025-07-16 10:28:13 -04:00
Ayman Bagabas
71ae90365c
chore: remove unused program fields 2025-07-14 10:53:14 -04:00
dependabot[bot]
a8c4763874
chore(deps): bump golang.org/x/sync from 0.15.0 to 0.16.0 (#1451)
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.15.0 to 0.16.0.
- [Commits](https://github.com/golang/sync/compare/v0.15.0...v0.16.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  dependency-version: 0.16.0
  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-07-14 11:10:39 +00:00
dependabot[bot]
84b868fef8
chore(deps): bump golang.org/x/sys from 0.33.0 to 0.34.0 (#1450)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.33.0 to 0.34.0.
- [Commits](https://github.com/golang/sys/compare/v0.33.0...v0.34.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-version: 0.34.0
  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-07-14 11:07:00 +00:00
Ayman Bagabas
3c0ffd25e5
Merge branch 'v2-exp' into v2-exp-tv-io-viewable 2025-07-10 14:50:17 -04:00
Ayman Bagabas
81ed4ba5b8
chore: retract v2.0.0-beta1 2025-07-10 14:43:35 -04:00
Ayman Bagabas
2fe539b63e
fix: kitty keyboard has its own state for main and alternate screens
The main and alternate screens have their own Kitty keyboard state
stack. We need to request keyboard enhancements again when entering or
exiting the alternate screen.
2025-07-10 11:34:18 -04:00
Ayman Bagabas
144080f3d8 chore: bump dependencies 2025-07-08 11:27:37 -04:00
Ayman Bagabas
f4b2ad3636 chore: bump ultraviolet 2025-07-08 10:59:40 -04:00
Ayman Bagabas
f4c5598bfc
Merge branch 'v2-exp' into v2-exp-tv-io-viewable 2025-07-07 16:49:52 -04:00
Ayman Bagabas
911530d0a3
Merge branch 'main' into v2-exp 2025-07-07 16:42:38 -04:00
Ayman Bagabas
24fc6de7fb
chore: bump dependencies 2025-07-07 16:11:26 -04:00
Josh Allen
0a63003a85
fix: Windows: first character input lost on successive programs (#1368)
* Fix: Windows: first character input lost on successive programs

* lint G115

* intToUint32OrDie

* avoid max check

math.MaxUint32 (untyped int constant 4294967295) overflows int
2025-07-07 15:59:42 -04:00
Ayman Bagabas
3ce0c2452a
feat: create a panic trace file (#1446)
* feat: create a panic trace file

When Bubble Tea panics, it is really useful to have a trace file that
contains the panic message and the stack trace. This does that exactly.

* feat: make panic trace optional via TEA_DEBUG
2025-07-07 13:36:39 -04:00
Ayman Bagabas
1b86faa5b9
chore: bump x/input to v0.3.6 2025-07-07 12:26:22 -04:00
Ayman Bagabas
34f66cd585
chore: bump x/input to v0.3.5 2025-07-07 11:22:54 -04:00
Ayman Bagabas
e4402a5e98
chore: bump ultraviolet to latest main 2025-07-07 10:01:10 -04:00
Ayman Bagabas
a42fb608fa
chore: remove StyledString function 2025-07-03 14:23:56 -04:00
Ayman Bagabas
a991b583c0
chore: bump ultraviolet 2025-07-02 12:46:05 -04:00
Ayman Bagabas
0013d075eb
fix: renderer: reset touched lines buffer on resize 2025-07-02 10:45:02 -04:00
Ayman Bagabas
46c5cdc968
fix: renderer: reset touched lines buffer on resize 2025-07-01 16:38:55 -04:00
Ayman Bagabas
391d1c64a8
chore: bump ultraviolet 2025-07-01 16:30:20 -04:00
Ayman Bagabas
b755bb7258
chore: update dependencies 2025-07-01 13:51:01 -04:00
Ayman Bagabas
efd37e6e54
chore: update to use ultraviolet repository name 2025-06-30 11:05:36 -04:00
github-actions[bot]
ca9473b2d9
ci: sync golangci-lint config (#1431) 2025-06-30 10:13:28 -03:00
Ayman Bagabas
73b42b864e
fix(renderer): only send non-empty layer hit messages 2025-06-27 12:41:23 -04:00
Ayman Bagabas
9b921df874
feat: add option to disable key enhancements 2025-06-26 16:43:45 -04:00
Ayman Bagabas
c3a99ef435
feat: input: use new uv input reader api 2025-06-26 16:43:28 -04:00