diff options
Diffstat (limited to 'app/account.go')
-rw-r--r-- | app/account.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/account.go b/app/account.go index 312ba89b..817b9b74 100644 --- a/app/account.go +++ b/app/account.go @@ -220,6 +220,14 @@ func (acct *AccountView) SelectedMessagePart() *PartInfo { return nil } +func (acct *AccountView) Terminal() *Terminal { + if acct.split == nil { + return nil + } + + return acct.split.Terminal() +} + func (acct *AccountView) isSelected() bool { return acct == SelectedAccount() } |