summary refs log tree commit diff stats
path: root/aerc.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-05-12 00:06:09 -0400
committerDrew DeVault <sir@cmpwn.com>2019-05-12 00:06:09 -0400
commit577248f5e15d98a9a6522a605acd434059582bfc (patch)
tree890e305c723c4c21c9fba071571ee0d010be1183 /aerc.go
parentc05e5f73f29566812b7623311db8c6196c7be063 (diff)
downloadaerc-577248f5e15d98a9a6522a605acd434059582bfc.tar.gz
Add initial compose widget
Diffstat (limited to 'aerc.go')
-rw-r--r--aerc.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/aerc.go b/aerc.go
index 5b6f9d7..978d448 100644
--- a/aerc.go
+++ b/aerc.go
@@ -25,6 +25,11 @@ func getCommands(selected libui.Drawable) []*commands.Commands {
 			account.AccountCommands,
 			commands.GlobalCommands,
 		}
+	case *widgets.Composer:
+		return []*commands.Commands{
+			// TODO: compose-specific commands
+			commands.GlobalCommands,
+		}
 	case *widgets.MessageViewer:
 		return []*commands.Commands{
 			msgview.MessageViewCommands,