summary refs log tree commit diff stats
path: root/widgets/aerc.go
diff options
context:
space:
mode:
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 a36db23..781cb2b 100644
--- a/widgets/aerc.go
+++ b/widgets/aerc.go
@@ -93,6 +93,8 @@ func (aerc *Aerc) getBindings() *config.KeyBindings {
 	switch aerc.SelectedTab().(type) {
 	case *AccountView:
 		return aerc.conf.Bindings.MessageList
+	case *MessageViewer:
+		return aerc.conf.Bindings.MessageView
 	case *Terminal:
 		return aerc.conf.Bindings.Terminal
 	default: