about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config/bindings.go1
-rw-r--r--widgets/aerc.go2
2 files changed, 3 insertions, 0 deletions
diff --git a/config/bindings.go b/config/bindings.go
index 0032d72..4cb4805 100644
--- a/config/bindings.go
+++ b/config/bindings.go
@@ -154,6 +154,7 @@ func ParseBinding(input, output string) (*Binding, error) {
 func init() {
 	keyNames = make(map[string]KeyStroke)
 	keyNames["space"] = KeyStroke{tcell.KeyRune, ' '}
+	keyNames["semicolon"] = KeyStroke{tcell.KeyRune, ';'}
 	keyNames["enter"] = KeyStroke{tcell.KeyEnter, 0}
 	keyNames["up"] = KeyStroke{tcell.KeyUp, 0}
 	keyNames["down"] = KeyStroke{tcell.KeyDown, 0}
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
 	}