Make :pipe command more generic
This commit is contained in:
parent
f9f523ad59
commit
363aab5cc1
8 changed files with 125 additions and 110 deletions
commands/msgview
|
@ -34,7 +34,7 @@ func (_ Open) Execute(aerc *widgets.Aerc, args []string) error {
|
|||
}
|
||||
|
||||
mv := aerc.SelectedTab().(*widgets.MessageViewer)
|
||||
p := mv.CurrentPart()
|
||||
p := mv.SelectedMessagePart()
|
||||
|
||||
p.Store.FetchBodyPart(p.Msg.Uid, p.Index, func(reader io.Reader) {
|
||||
// email parts are encoded as 7bit (plaintext), quoted-printable, or base64
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue