A few bug-fixes and maintenance tasks (#30)
- Fixed a bug which was not properly detecting whether MacOS was in light mode. - Fixed a bug which was breaking filtering with the table-selection mode. - Upgraded bubble-tea.
This commit is contained in:
parent
efdc7f9e25
commit
f373a3313a
7 changed files with 90 additions and 33 deletions
|
|
@ -7,7 +7,7 @@ type tableItem struct {
|
|||
}
|
||||
|
||||
func (ti tableItem) FilterValue() string {
|
||||
return ""
|
||||
return ti.name
|
||||
}
|
||||
|
||||
func (ti tableItem) Title() string {
|
||||
|
|
|
|||
|
|
@ -64,6 +64,9 @@ func (m *Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
|||
}
|
||||
}
|
||||
|
||||
if m.pendingSelection != nil {
|
||||
m.listController = cc.Collect(m.listController.Update(msg)).(listController)
|
||||
}
|
||||
m.submodel = cc.Collect(m.submodel.Update(msg))
|
||||
return m, cc.Cmd()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue