diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-05-12 00:06:09 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-05-12 00:06:09 -0400 |
commit | 577248f5e15d98a9a6522a605acd434059582bfc (patch) | |
tree | 890e305c723c4c21c9fba071571ee0d010be1183 /aerc.go | |
parent | c05e5f73f29566812b7623311db8c6196c7be063 (diff) | |
download | aerc-577248f5e15d98a9a6522a605acd434059582bfc.tar.gz |
Add initial compose widget
Diffstat (limited to 'aerc.go')
-rw-r--r-- | aerc.go | 5 |
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, |