func (amua *Amua) sendMailDraw(v *gocui.View) error { v.Clear() v.Frame = false v.Highlight = false v.Wrap = true v.SetOrigin(0, 0) tos := util.ConcatAddresses(amua.newMail.to) ccs := util.ConcatAddresses(amua.newMail.cc) bccs := util.ConcatAddresses(amua.newMail.bcc) fmt.Fprintf(v, "y: send, Ctrl+G: cancel, q: move to drafts, t: tos, c: ccs, b: bccs\n") fmt.Fprintf(v, "To: %s\n", tos) fmt.Fprintf(v, "Cc: %s\n", ccs) fmt.Fprintf(v, "Bcc: %s\n", bccs) fmt.Fprintf(v, "Subject: %s\n", amua.newMail.subject) fmt.Fprintf(v, "\n") return nil }