summary refs log tree commit diff stats
path: root/widgets/aerc.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-03-17 17:39:22 -0400
committerDrew DeVault <sir@cmpwn.com>2019-03-17 17:39:49 -0400
commit60b17c473a0edbd806c9f0c8e4b3b238cb60227e (patch)
tree4a1c2f5b4547122f52118a79139d0a1a84a6d447 /widgets/aerc.go
parentdee0f8938b62d668ed9105c96313fbd8b8bbd098 (diff)
downloadaerc-60b17c473a0edbd806c9f0c8e4b3b238cb60227e.tar.gz
Wrap Terminal in TermHost
Diffstat (limited to 'widgets/aerc.go')
-rw-r--r--widgets/aerc.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/widgets/aerc.go b/widgets/aerc.go
index 49a61bd..af2d0df 100644
--- a/widgets/aerc.go
+++ b/widgets/aerc.go
@@ -122,6 +122,11 @@ func (aerc *Aerc) Event(event tcell.Event) bool {
 				aerc.BeginExCommand()
 				return true
 			}
+			interactive, ok := aerc.tabs.Tabs[aerc.tabs.Selected].Content.(ui.Interactive)
+			if ok {
+				return interactive.Event(event)
+			}
+			return false
 		}
 	}
 	return false