Add addresses argument to forward command

This commit is contained in:
Jelle Besseling 2019-08-18 11:33:14 +02:00 committed by Drew DeVault
parent 217e8855f2
commit 36c6030e81
3 changed files with 17 additions and 2 deletions
widgets

View file

@ -153,6 +153,13 @@ func (c *Composer) FocusSubject() *Composer {
return c
}
func (c *Composer) FocusRecipient() *Composer {
c.focusable[c.focused].Focus(false)
c.focused = 1
c.focusable[c.focused].Focus(true)
return c
}
// OnHeaderChange registers an OnChange callback for the specified header.
func (c *Composer) OnHeaderChange(header string, fn func(subject string)) {
if editor, ok := c.editors[header]; ok {