feat: add signature

This commit is contained in:
Maas Lalani
2023-07-11 10:21:28 -04:00
parent 336d698399
commit 960893fd34
3 changed files with 19 additions and 4 deletions

View File

@@ -101,6 +101,11 @@ func NewModel(defaults resend.SendEmailRequest) Model {
body.Cursor.Style = cursorStyle
body.CharLimit = 4000
body.SetValue(defaults.Text)
// Adjust for signature (if none, this is a no-op)
body.CursorUp()
body.CursorUp()
body.Blur()
// Decide which input to focus.