Significant speedup
This commit is contained in:
parent
85225e8e99
commit
edb50c3b34
6
tui.go
6
tui.go
|
@ -122,12 +122,12 @@ func initialModel(items []list.Item) model {
|
|||
const defaultWidth = 20
|
||||
|
||||
l := list.New(items, itemDelegate{}, defaultWidth, 14)
|
||||
l.SetShowFilter(true)
|
||||
l.SetShowPagination(false)
|
||||
l.SetShowStatusBar(false)
|
||||
l.SetFilteringEnabled(true)
|
||||
l.SetShowHelp(false)
|
||||
l.SetShowTitle(false)
|
||||
l.SetShowPagination(false)
|
||||
l.SetFilteringEnabled(true)
|
||||
l.SetShowFilter(true)
|
||||
l.Styles.TitleBar = lipgloss.NewStyle()
|
||||
ti := textinput.New()
|
||||
ti.Focus()
|
||||
|
|
Loading…
Reference in New Issue