Update dependencies and adjust UI

This commit updates the project's dependencies, including
`charmbracelet/bubbles`, `charmbracelet/bubbletea`, and
`charmbracelet/lipgloss`.

The UI has been adjusted to utilize `lipgloss.Place` for centering the
text input within the terminal window. It also now displays a
"loading..." message until the window size is determined. The text input
prompt has been removed to provide a cleaner interface.
This commit is contained in:
vaibhav
2026-01-14 11:43:17 +05:30
parent 761961b452
commit 7fa9e9b1bd
4 changed files with 25 additions and 4 deletions

9
go.mod
View File

@@ -2,13 +2,16 @@ module github.com/vvaibhavv11/player
go 1.25.0
require (
github.com/charmbracelet/bubbles v0.21.0
github.com/charmbracelet/bubbletea v1.3.10
github.com/charmbracelet/lipgloss v1.1.0
)
require (
github.com/atotto/clipboard v0.1.4 // indirect
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
github.com/charmbracelet/bubbles v0.21.0 // indirect
github.com/charmbracelet/bubbletea v1.3.10 // indirect
github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc // indirect
github.com/charmbracelet/lipgloss v1.1.0 // indirect
github.com/charmbracelet/x/ansi v0.10.1 // indirect
github.com/charmbracelet/x/cellbuf v0.0.13-0.20250311204145-2c3ea96c31dd // indirect
github.com/charmbracelet/x/term v0.2.1 // indirect