diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-03-17 17:39:22 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-03-17 17:39:49 -0400 |
commit | 60b17c473a0edbd806c9f0c8e4b3b238cb60227e (patch) | |
tree | 4a1c2f5b4547122f52118a79139d0a1a84a6d447 /widgets/aerc.go | |
parent | dee0f8938b62d668ed9105c96313fbd8b8bbd098 (diff) | |
download | aerc-60b17c473a0edbd806c9f0c8e4b3b238cb60227e.tar.gz |
Wrap Terminal in TermHost
Diffstat (limited to 'widgets/aerc.go')
-rw-r--r-- | widgets/aerc.go | 5 |
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 |