wip: refactoring tui

This commit is contained in:
adamdottv 2025-06-12 05:35:40 -05:00
commit cce2e4ad75
No known key found for this signature in database
GPG key ID: 9CB48779AF150E75
47 changed files with 1025 additions and 3413 deletions

View file

@ -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(),
)