From 4cb8f811452c12449854ee86fbe1a0b0cd077d86 Mon Sep 17 00:00:00 2001 From: Rob Best Date: Fri, 20 Aug 2021 15:21:05 +0100 Subject: [PATCH 1/2] Remove font-family from pre.file-output css --- static/stylesheets/main.css | 1 - 1 file changed, 1 deletion(-) diff --git a/static/stylesheets/main.css b/static/stylesheets/main.css index 8ee5ea43..ab896255 100644 --- a/static/stylesheets/main.css +++ b/static/stylesheets/main.css @@ -1,5 +1,4 @@ pre.file-output { - font-family: Monaco; font-size: 10px; } From fbe67e78659b65bb06aecf2f091914f5c982cdc3 Mon Sep 17 00:00:00 2001 From: Rob Best Date: Fri, 20 Aug 2021 15:37:11 +0100 Subject: [PATCH 2/2] Space out commands in output better By inserting a newline before the command. --- run/applier.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run/applier.go b/run/applier.go index 69c6d37c..e030add5 100644 --- a/run/applier.go +++ b/run/applier.go @@ -120,7 +120,7 @@ func (l *tfLogger) Printf(format string, v ...interface{}) { log.Info("+ %s", msg) // Write the command to the output with a faux shell prompt and a new // line at the end. This aids readability. - fmt.Fprint(l.w, "$ "+msg+"\n") + fmt.Fprint(l.w, fmt.Sprintf("\n$ %s\n", msg)) } func (a *Applier) applyModule(ctx context.Context, modulePath string) (string, error) {