chore: bump bubbles to v2.0.0-rc.1 and update textarea and help width usage
commite53c73305cb6c3ebd5c2cf8363efd7247af62e52
authorAyman Bagabas <ayman.bagabas@gmail.com>
dateMon 17 Nov 2025, 17:10 (1 year ago)
parent0267342
go.mod+1−1
@@ -3,7 +3,7 @@ module github.com/charmbracelet/crush
33go 1.25.0
44
55require (
6− charm.land/bubbles/v2 v2.0.0-beta.1.0.20251104200223-da0b892d1759
6+ charm.land/bubbles/v2 v2.0.0-rc.1
77 charm.land/bubbletea/v2 v2.0.0-rc.1.0.20251117161017-15f884bd2973
88 charm.land/fantasy v0.3.1
99 charm.land/lipgloss/v2 v2.0.0-beta.3.0.20251106193318-19329a3e8410
go.sum+2−2
@@ -1,5 +1,5 @@
1−charm.land/bubbles/v2 v2.0.0-beta.1.0.20251104200223-da0b892d1759 h1:P1MxkVl8ZeI9tHmmrn9UzV/5Mz7heoiTgqECHRFsUcs=
2−charm.land/bubbles/v2 v2.0.0-beta.1.0.20251104200223-da0b892d1759/go.mod h1:G7JWaj3kDT0BDB+h5BLDUhhBLpDoRLKrpOp5QrA2SQs=
1+charm.land/bubbles/v2 v2.0.0-rc.1 h1:EiIFVAc3Zi/yY86td+79mPhHR7AqZ1OxF+6ztpOCRaM=
2+charm.land/bubbles/v2 v2.0.0-rc.1/go.mod h1:5AbN6cEd/47gkEf8TgiQ2O3RZ5QxMS14l9W+7F9fPC4=
33charm.land/bubbletea/v2 v2.0.0-rc.1.0.20251117161017-15f884bd2973 h1:Ay8VWyn/CbwltswomzWXj0m5KKfSJavFfCDCxI+j8qo=
44charm.land/bubbletea/v2 v2.0.0-rc.1.0.20251117161017-15f884bd2973/go.mod h1:IXFmnCnMLTWw/KQ9rEatSYqbAPAYi8kA3Yqwa1SFnLk=
55charm.land/fantasy v0.3.1 h1:YeMoLnaOHM3hdXq+SByxIKZxdm/2CHgKIS7HE0k/G6I=
internal/tui/components/chat/editor/editor.go+1−1
@@ -55,7 +55,7 @@ type editorCmp struct {
5555 x, y int
5656 app *app.App
5757 session session.Session
58− textarea *textarea.Model
58+ textarea textarea.Model
5959 attachments []message.Attachment
6060 deleteMode bool
6161 readyPlaceholder string
internal/tui/components/core/status/status.go+1−1
@@ -40,7 +40,7 @@ func (m *statusCmp) Update(msg tea.Msg) (util.Model, tea.Cmd) {
4040 switch msg := msg.(type) {
4141 case tea.WindowSizeMsg:
4242 m.width = msg.Width
43− m.help.Width = msg.Width - 2
43+ m.help.SetWidth(msg.Width - 2)
4444 return m, nil
4545
4646 // Handle status info
internal/tui/components/dialogs/models/models.go+1−1
@@ -104,7 +104,7 @@ func (m *modelDialogCmp) Update(msg tea.Msg) (util.Model, tea.Cmd) {
104104 m.wWidth = msg.Width
105105 m.wHeight = msg.Height
106106 m.apiKeyInput.SetWidth(m.width - 2)
107− m.help.Width = m.width - 2
107+ m.help.SetWidth(m.width - 2)
108108 return m, m.modelList.SetSize(m.listWidth(), m.listHeight())
109109 case APIKeyStateChangeMsg:
110110 u, cmd := m.apiKeyInput.Update(msg)