From 1c968b8804acb3b5fe30fa1c1d4bfe13ce48fcc4 Mon Sep 17 00:00:00 2001 From: Ayman Bagabas Date: Tue, 28 Oct 2025 17:57:19 -0400 Subject: [PATCH] fix(ui): lint: use consistent receiver names in EditorModel methods --- internal/ui/model/editor.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/internal/ui/model/editor.go b/internal/ui/model/editor.go index 384d9638a8ed34455df4ed50fe7c50227a530525..1066de5f96a4c3105329d35e6434a768d7001ab0 100644 --- a/internal/ui/model/editor.go +++ b/internal/ui/model/editor.go @@ -124,19 +124,19 @@ func (m *EditorModel) Cursor() *tea.Cursor { } // Blur implements Container. -func (c *EditorModel) Blur() tea.Cmd { - c.textarea.Blur() +func (m *EditorModel) Blur() tea.Cmd { + m.textarea.Blur() return nil } // Focus implements Container. -func (c *EditorModel) Focus() tea.Cmd { - return c.textarea.Focus() +func (m *EditorModel) Focus() tea.Cmd { + return m.textarea.Focus() } // Focused returns whether the editor is focused. -func (c *EditorModel) Focused() bool { - return c.textarea.Focused() +func (m *EditorModel) Focused() bool { + return m.textarea.Focused() } // SetSize sets the size of the editor.