From db213fd0aed98a79ecb1be2c7b7d61c7d983bedf Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Tue, 14 May 2019 16:34:42 -0400 Subject: Implement :copy (aka :cp) --- widgets/account.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'widgets/account.go') diff --git a/widgets/account.go b/widgets/account.go index ba2b8d3..c252e38 100644 --- a/widgets/account.go +++ b/widgets/account.go @@ -110,6 +110,10 @@ func (acct *AccountView) Focus(focus bool) { // TODO: Unfocus children I guess } +func (acct *AccountView) Worker() *types.Worker { + return acct.worker +} + func (acct *AccountView) connected(msg types.WorkerMessage) { switch msg := msg.(type) { case *types.Done: -- cgit v1.2.3