From 46da4a87cb97f7b9c0011c4ec3759ccbf6d43f49 Mon Sep 17 00:00:00 2001 From: bashbunni Date: Fri, 4 Apr 2025 10:08:40 -0700 Subject: [PATCH] feat(table): remove redundant SetFocused function --- table/table.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/table/table.go b/table/table.go index cd643ab..3e9ad7f 100644 --- a/table/table.go +++ b/table/table.go @@ -348,12 +348,6 @@ func (m *Model) SetWidth(w int) *Model { return m } -// SetFocused sets the focus state of the table. -func (m *Model) SetFocused(f bool) *Model { - m.focus = f - return m -} - // SetYOffset sets the YOffset position in the table. func (m *Model) SetYOffset(n int) *Model { m.yOffset = clamp(n, 0, len(m.rows)-1)