fix: add missing packages

This commit is contained in:
Patryk Hegenberg 2024-12-27 19:07:22 +01:00
parent 4063a91bc4
commit 1fa3dea1b9
4 changed files with 50 additions and 49 deletions

View file

@ -90,6 +90,7 @@ func (m model) Init() tea.Cmd {
}
func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
tea.EnterAltScreen()
switch msg := msg.(type) {
case tea.WindowSizeMsg:
m.width, m.height = msg.Width, msg.Height