summary refs log tree commit diff stats
path: root/widgets/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 /widgets/aerc.go
parentc05e5f73f29566812b7623311db8c6196c7be063 (diff)
downloadaerc-577248f5e15d98a9a6522a605acd434059582bfc.tar.gz
Add initial compose widget
Diffstat (limited to 'widgets/aerc.go')
-rw-r--r--widgets/aerc.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/aerc.go b/widgets/aerc.go
index 773848d..fb109d4 100644
--- a/widgets/aerc.go
+++ b/widgets/aerc.go
@@ -91,6 +91,8 @@ func (aerc *Aerc) getBindings() *config.KeyBindings {
 	switch aerc.SelectedTab().(type) {
 	case *AccountView:
 		return aerc.conf.Bindings.MessageList
+	case *Composer:
+		return aerc.conf.Bindings.Compose
 	case *MessageViewer:
 		return aerc.conf.Bindings.MessageView
 	case *Terminal: