diff --git a/README.md b/README.md index d0560d7..90d4fe6 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ // replace ETA decorator with "done" message, OnComplete event decor.OnComplete( // ETA decorator with ewma age of 60 - decor.EwmaETA(decor.ET_STYLE_GO, 60), "done", + decor.EwmaETA(decor.ET_STYLE_GO, 60, decor.WCSyncWidth), "done", ), ), ) diff --git a/_examples/multiBars/main.go b/_examples/multiBars/main.go index b16562a..af2ae7a 100644 --- a/_examples/multiBars/main.go +++ b/_examples/multiBars/main.go @@ -30,7 +30,7 @@ // replace ETA decorator with "done" message, OnComplete event decor.OnComplete( // ETA decorator with ewma age of 60 - decor.EwmaETA(decor.ET_STYLE_GO, 60), "done", + decor.EwmaETA(decor.ET_STYLE_GO, 60, decor.WCSyncWidth), "done", ), ), )