diff --git a/cmd/common.go b/cmd/common.go index 8a65298..1fb8f8b 100644 --- a/cmd/common.go +++ b/cmd/common.go @@ -4,6 +4,7 @@ import ( "bytes" "fmt" "os" + "time" "github.com/sermuns/schemgo/drawing" "github.com/sermuns/schemgo/parsing" @@ -73,6 +74,7 @@ func writeSchematic(inContents []byte) (outContent []byte) { renderElem(s, &entry.Element) } var buf bytes.Buffer + time.Sleep(time.Second) s.End(&buf) return buf.Bytes() }