From 592aceb180caed66a85ddf3aff9e620b6e66ab67 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Thu, 12 Feb 2026 10:17:10 -0300 Subject: [PATCH] feat(ui): move attachments below the editor Experimenting with this. Signed-off-by: Carlos Alexandro Becker --- internal/ui/model/ui.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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") }