fix: add missing packages
This commit is contained in:
parent
4063a91bc4
commit
1fa3dea1b9
4 changed files with 50 additions and 49 deletions
1
model.go
1
model.go
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue