on main help sign in
fix(ui): completions offset for attachments row (#2208)
eae61e1Carlos Alexandro Becker
internal/ui/model/ui.go+1−1
@@ -1889,7 +1889,7 @@ func (m *UI) Draw(scr uv.Screen, area uv.Rectangle) *tea.Cursor {
1889 x = screenW - w
1889 x = screenW - w
1890 }
1890 }
1891 x = max(0, x)
1891 x = max(0, x)
1892− y = max(0, y)
1892+ y = max(0, y+1) // Offset for attachments row
1893
1893
1894 completionsView := uv.NewStyledString(m.completions.Render())
1894 completionsView := uv.NewStyledString(m.completions.Render())
1895 completionsView.Draw(scr, image.Rectangle{
1895 completionsView.Draw(scr, image.Rectangle{