From 76a91813d8dc0f0011202f8120fc197097f022aa Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 28 May 2020 10:32:32 -0400 Subject: Revert "Remove duration from the status methods" This reverts commit f06d683688e3d2139b14f67b7e349089e7200bf4. --- commands/pwd.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'commands/pwd.go') diff --git a/commands/pwd.go b/commands/pwd.go index fc9a411..d3f0e0c 100644 --- a/commands/pwd.go +++ b/commands/pwd.go @@ -3,6 +3,7 @@ package commands import ( "errors" "os" + "time" "git.sr.ht/~sircmpwn/aerc/widgets" ) @@ -29,6 +30,6 @@ func (PrintWorkDir) Execute(aerc *widgets.Aerc, args []string) error { if err != nil { return err } - aerc.PushStatus(pwd) + aerc.PushStatus(pwd, 10*time.Second) return nil } -- cgit 1.4.1-2-gfad0