Fix typos

This commit is contained in:
Martin Michlmayr 2020-05-20 08:48:23 +08:00 committed by Reto Brunner
parent 2e7f15b698
commit a7986f5706
8 changed files with 11 additions and 11 deletions

View file

@ -77,7 +77,7 @@ func (Mark) Execute(aerc *widgets.Aerc, args []string) error {
case "unmark":
if visual {
return fmt.Errorf("visual mode not suported for this command")
return fmt.Errorf("visual mode not supported for this command")
}
if all && toggle {

View file

@ -51,7 +51,7 @@ func (Read) Execute(aerc *widgets.Aerc, args []string) error {
}
if toggle {
// ignore commmand given, simply toggle all the read states
// ignore command given, simply toggle all the read states
return submitToggle(aerc, store, h)
}
msgUids, err := h.markedOrSelectedUids()

View file

@ -17,7 +17,7 @@ import (
"github.com/mitchellh/go-homedir"
)
// QuickTerm is an ephemeral terminal for running a single command and quiting.
// QuickTerm is an ephemeral terminal for running a single command and quitting.
func QuickTerm(aerc *widgets.Aerc, args []string, stdin io.Reader) (*widgets.Terminal, error) {
cmd := exec.Command(args[0], args[1:]...)
pipe, err := cmd.StdinPipe()