feat: upgrade bubbletea, bubbles, and lipgloss to v2 #118
Reference in New Issue
Block a user
Delete Branch "staging"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
- Migrate import paths from github.com/charmbracelet/* to charm.land/*/v2 - Replace tea.KeyMsg with tea.KeyPressMsg in all update handlers and tests - Replace View() string return type with tea.View using declarative AltScreen and MouseMode instead of tea.WithAltScreen()/tea.WithMouseCellMotion() - Replace tea.WindowSize() with tea.RequestWindowSize in Init() - Remove tea.ClearScreen from all tea.Batch() calls (removed in v2) - Replace lipgloss.SetColorProfile(termenv.TrueColor) with tea.WithColorProfile(colorprofile.TrueColor) in NewProgram options - Replace ti.Width assignments with ti.SetWidth() method calls - Update Redraw() to send tea.WindowSizeMsg{} instead of removed tea.ClearScreen - Update test assertions to check view.Content instead of view directly - Remove github.com/muesli/termenv dependency