diff options
Diffstat (limited to 'commands/msgview/close.go')
-rw-r--r-- | commands/msgview/close.go | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/commands/msgview/close.go b/commands/msgview/close.go deleted file mode 100644 index 95960ef3..00000000 --- a/commands/msgview/close.go +++ /dev/null @@ -1,21 +0,0 @@ -package msgview - -import ( - "git.sr.ht/~rjarry/aerc/app" -) - -type Close struct{} - -func init() { - register(Close{}) -} - -func (Close) Aliases() []string { - return []string{"close"} -} - -func (Close) Execute(args []string) error { - mv, _ := app.SelectedTabContent().(*app.MessageViewer) - app.RemoveTab(mv, true) - return nil -} |