Skip to content

Commit 0fdf5f5

Browse files
committed
feat: use bubbletea/v2
1 parent 488bef7 commit 0fdf5f5

File tree

19 files changed

+18
-23
lines changed

19 files changed

+18
-23
lines changed

cursor/cursor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"context"
55
"time"
66

7-
tea "github.com/charmbracelet/bubbletea"
7+
tea "github.com/charmbracelet/bubbletea/v2"
88
"github.com/charmbracelet/lipgloss"
99
)
1010

filepicker/filepicker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"sync"
1111

1212
"github.com/charmbracelet/bubbles/key"
13-
tea "github.com/charmbracelet/bubbletea"
13+
tea "github.com/charmbracelet/bubbletea/v2"
1414
"github.com/charmbracelet/lipgloss"
1515
"github.com/dustin/go-humanize"
1616
)

go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.18
55
require (
66
github.com/MakeNowJust/heredoc v1.0.0
77
github.com/atotto/clipboard v0.1.4
8-
github.com/charmbracelet/bubbletea v1.1.1-0.20240830154658-85c5adc127b3
8+
github.com/charmbracelet/bubbletea/v2 v2.0.0-20240918180721-14cb6b5de1d2
99
github.com/charmbracelet/harmonica v0.2.0
1010
github.com/charmbracelet/lipgloss v0.13.0
1111
github.com/charmbracelet/x/ansi v0.3.2
@@ -21,7 +21,6 @@ require (
2121
require (
2222
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
2323
github.com/aymanbagabas/go-udiff v0.2.0 // indirect
24-
github.com/charmbracelet/bubbletea/v2 v2.0.0-20240918180721-14cb6b5de1d2 // indirect
2524
github.com/charmbracelet/x/term v0.2.0 // indirect
2625
github.com/charmbracelet/x/windows v0.2.0 // indirect
2726
github.com/kylelemons/godebug v1.1.0 // indirect

go.sum

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiE
66
github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8=
77
github.com/aymanbagabas/go-udiff v0.2.0 h1:TK0fH4MteXUDspT88n8CKzvK0X9O2xu9yQjWpi6yML8=
88
github.com/aymanbagabas/go-udiff v0.2.0/go.mod h1:RE4Ex0qsGkTAJoQdQQCA0uG+nAzJO/pI/QwceO5fgrA=
9-
github.com/charmbracelet/bubbletea v1.1.1-0.20240830154658-85c5adc127b3 h1:oqDwkNLoIVbOjX0ZomkPljMtRKZvJMpYkR1A68QcbJo=
10-
github.com/charmbracelet/bubbletea v1.1.1-0.20240830154658-85c5adc127b3/go.mod h1:RYka31SjvShLlaYsbsBSiXnneU2JUEoKvI3nrOUaJuw=
119
github.com/charmbracelet/bubbletea/v2 v2.0.0-20240918180721-14cb6b5de1d2 h1:833Ay19EJBhkDboQHmISKX8LaPfVj3Y8vYG8/MlD4p0=
1210
github.com/charmbracelet/bubbletea/v2 v2.0.0-20240918180721-14cb6b5de1d2/go.mod h1:j0gn4ft5CE7NDYNZjAA3hBM8t2OPjI8urxuAD0oR4w8=
1311
github.com/charmbracelet/harmonica v0.2.0 h1:8NxJWRWg/bzKqqEaaeFNipOu77YR5t8aSwG4pgaUBiQ=
@@ -49,7 +47,5 @@ golang.org/x/exp v0.0.0-20220909182711-5c715a9e8561 h1:MDc5xs78ZrZr3HMQugiXOAkSZ
4947
golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ=
5048
golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
5149
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
52-
golang.org/x/sys v0.24.0 h1:Twjiwq9dn6R1fQcyiK+wQyHWfaz/BJB+YIpzU/Cv3Xg=
53-
golang.org/x/sys v0.24.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
5450
golang.org/x/sys v0.25.0 h1:r+8e+loiHxRqhXVl6ML1nO3l1+oFoWbnlu2Ehimmi34=
5551
golang.org/x/sys v0.25.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=

help/help.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"strings"
55

66
"github.com/charmbracelet/bubbles/key"
7-
tea "github.com/charmbracelet/bubbletea"
7+
tea "github.com/charmbracelet/bubbletea/v2"
88
"github.com/charmbracelet/lipgloss"
99
)
1010

list/defaultitem.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"strings"
77

88
"github.com/charmbracelet/bubbles/key"
9-
tea "github.com/charmbracelet/bubbletea"
9+
tea "github.com/charmbracelet/bubbletea/v2"
1010
"github.com/charmbracelet/lipgloss"
1111
"github.com/charmbracelet/x/ansi"
1212
)

list/list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"strings"
1111
"time"
1212

13-
tea "github.com/charmbracelet/bubbletea"
13+
tea "github.com/charmbracelet/bubbletea/v2"
1414
"github.com/charmbracelet/lipgloss"
1515
"github.com/charmbracelet/x/ansi"
1616
"github.com/sahilm/fuzzy"

list/list_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"strings"
88
"testing"
99

10-
tea "github.com/charmbracelet/bubbletea"
10+
tea "github.com/charmbracelet/bubbletea/v2"
1111
)
1212

1313
type item string

paginator/paginator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"fmt"
99

1010
"github.com/charmbracelet/bubbles/key"
11-
tea "github.com/charmbracelet/bubbletea"
11+
tea "github.com/charmbracelet/bubbletea/v2"
1212
)
1313

1414
// Type specifies the way we render pagination.

paginator/paginator_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package paginator
33
import (
44
"testing"
55

6-
tea "github.com/charmbracelet/bubbletea"
6+
tea "github.com/charmbracelet/bubbletea/v2"
77
)
88

99
func TestNew(t *testing.T) {

0 commit comments

Comments
 (0)