22 lines
265 B
Go
22 lines
265 B
Go
|
package home
|
||
|
|
||
|
import (
|
||
|
"github.com/charmbracelet/bubbles/help"
|
||
|
)
|
||
|
|
||
|
type Model struct {
|
||
|
WindowHeight int
|
||
|
WindowWidth int
|
||
|
|
||
|
Help help.Model
|
||
|
}
|
||
|
|
||
|
func NewModel() Model {
|
||
|
help := help.New()
|
||
|
help.ShortSeparator = help.FullSeparator
|
||
|
|
||
|
return Model{
|
||
|
Help: help,
|
||
|
}
|
||
|
}
|