summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2021-04-11 23:40:03 +1000
committerJesse Duffield <jessedduffield@gmail.com>2021-04-12 21:48:08 +1000
commit5453b71fd1ff6435867eee1093fee48af5b41dd3 (patch)
tree2acc2e942762138a39fb036821ab6f3157251e59
parent1f3070c8822a4fdde9e07f6d76c99d5a998264d9 (diff)
linting
-rw-r--r--pkg/gui/command_log_panel.go10
1 files changed, 4 insertions, 6 deletions
diff --git a/pkg/gui/command_log_panel.go b/pkg/gui/command_log_panel.go
index 2f9abff3b..2558e969e 100644
--- a/pkg/gui/command_log_panel.go
+++ b/pkg/gui/command_log_panel.go
@@ -46,13 +46,11 @@ func (gui *Gui) printCommandLogHeader() {
)
fmt.Fprintln(gui.Views.Extras, utils.ColoredString(introStr, color.FgCyan))
- fmt.Fprint(
+ fmt.Fprintf(
gui.Views.Extras,
- fmt.Sprintf(
- "%s: %s",
- utils.ColoredString(gui.Tr.RandomTip, color.FgYellow),
- utils.ColoredString(gui.getRandomTip(), color.FgGreen),
- ),
+ "%s: %s",
+ utils.ColoredString(gui.Tr.RandomTip, color.FgYellow),
+ utils.ColoredString(gui.getRandomTip(), color.FgGreen),
)
}