summaryrefslogtreecommitdiffhomepage
path: root/packages/tui/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'packages/tui/cmd')
-rw-r--r--packages/tui/cmd/opencode/main.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/tui/cmd/opencode/main.go b/packages/tui/cmd/opencode/main.go
index 27e797e8b..06c4554a3 100644
--- a/packages/tui/cmd/opencode/main.go
+++ b/packages/tui/cmd/opencode/main.go
@@ -9,7 +9,7 @@ import (
"sync"
"time"
- tea "github.com/charmbracelet/bubbletea"
+ tea "github.com/charmbracelet/bubbletea/v2"
zone "github.com/lrstanley/bubblezone"
"github.com/sst/opencode/internal/app"
"github.com/sst/opencode/internal/pubsub"
@@ -65,6 +65,8 @@ func main() {
zone.NewGlobal()
program := tea.NewProgram(
tui.NewModel(app_),
+ // tea.WithMouseCellMotion(),
+ tea.WithKeyboardEnhancements(),
tea.WithAltScreen(),
)