aboutsummaryrefslogtreecommitdiffstats
path: root/commands/compose/next-field.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/compose/next-field.go')
-rw-r--r--commands/compose/next-field.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/commands/compose/next-field.go b/commands/compose/next-field.go
index ec4db582..d029b50a 100644
--- a/commands/compose/next-field.go
+++ b/commands/compose/next-field.go
@@ -3,7 +3,7 @@ package compose
import (
"fmt"
- "git.sr.ht/~rjarry/aerc/widgets"
+ "git.sr.ht/~rjarry/aerc/app"
)
type NextPrevField struct{}
@@ -16,15 +16,15 @@ func (NextPrevField) Aliases() []string {
return []string{"next-field", "prev-field"}
}
-func (NextPrevField) Complete(aerc *widgets.Aerc, args []string) []string {
+func (NextPrevField) Complete(aerc *app.Aerc, args []string) []string {
return nil
}
-func (NextPrevField) Execute(aerc *widgets.Aerc, args []string) error {
+func (NextPrevField) Execute(aerc *app.Aerc, args []string) error {
if len(args) > 2 {
return nextPrevFieldUsage(args[0])
}
- composer, _ := aerc.SelectedTabContent().(*widgets.Composer)
+ composer, _ := aerc.SelectedTabContent().(*app.Composer)
if args[0] == "prev-field" {
composer.PrevField()
} else {