diff --git a/internal/ui/model/ui.go b/internal/ui/model/ui.go index b8d94a12bb57c03cdb814a2346b117a01acfdd92..dff88c6f5efc11cfaf62d6067b642de9c20b0f79 100644 --- a/internal/ui/model/ui.go +++ b/internal/ui/model/ui.go @@ -1928,8 +1928,8 @@ func (m *UI) Draw(scr uv.Screen, area uv.Rectangle) *tea.Cursor { if m.textarea.Focused() { cur := m.textarea.Cursor() - cur.X++ // Adjust for app margins - cur.Y += m.layout.editor.Min.Y + 1 // Offset for attachments row + cur.X++ // Adjust for app margins + cur.Y += m.layout.editor.Min.Y return cur } } @@ -2682,8 +2682,8 @@ func (m *UI) renderEditorView(width int) string { attachmentsView = m.attachments.Render(width) } return strings.Join([]string{ - attachmentsView, m.textarea.View(), + attachmentsView, "", // margin at bottom of editor }, "\n") }