about summary refs log tree commit diff stats
path: root/widgets
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-03-21 17:44:44 -0400
committerDrew DeVault <sir@cmpwn.com>2019-03-21 17:44:44 -0400
commit6d01332b5562738270dbad6c60d61c3652a8f988 (patch)
tree5a6143c710998ec040ce4e476a5e775049e955a0 /widgets
parent4130956b4c3cfb63c36b25fadfc19e8c95fb6536 (diff)
downloadaerc-6d01332b5562738270dbad6c60d61c3652a8f988.tar.gz
Rig up terminal keybinding group
Diffstat (limited to 'widgets')
-rw-r--r--widgets/aerc.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/aerc.go b/widgets/aerc.go
index 17d41a3..157cdd6 100644
--- a/widgets/aerc.go
+++ b/widgets/aerc.go
@@ -98,6 +98,8 @@ func (aerc *Aerc) getBindings() *config.KeyBindings {
 	switch aerc.SelectedTab().(type) {
 	case *AccountView:
 		return aerc.conf.Bindings.MessageList
+	case *TermHost:
+		return aerc.conf.Bindings.Terminal
 	default:
 		return aerc.conf.Bindings.Global
 	}