diff options
author | Alex Goodman <wagoodman@users.noreply.github.com> | 2020-05-13 10:52:20 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-13 10:52:20 -0400 |
commit | 8fe31e82ee5e73b81a07fbe3844edb088cadc76e (patch) | |
tree | 85b82f4f3bc19d83f44c35728436345ede721d93 | |
parent | c6bb2372a8be13a80a81c00c04f9724970c0ae60 (diff) | |
parent | f5b5a42a3da3e0cc3ca169d94b5b3c6fce5e06ff (diff) |
Merge pull request #289 from abitrolly/patch-1
Require golang 1.10+ (closes #278)
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | runtime/ui/view/layer.go | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -116,7 +116,7 @@ or download the latest Darwin build from the [releases page](https://github.com/ Download the [latest release](https://github.com/wagoodman/dive/releases/download/v0.9.2/dive_0.9.2_windows_amd64.zip). **Go tools** -Requires Go version 1.9 or higher. +Requires Go version 1.10 or higher. ```bash go get github.com/wagoodman/dive diff --git a/runtime/ui/view/layer.go b/runtime/ui/view/layer.go index 08472fa..601cd78 100644 --- a/runtime/ui/view/layer.go +++ b/runtime/ui/view/layer.go @@ -301,7 +301,7 @@ func (v *Layer) Render() error { width, _ := g.Size() if v.constrainedRealEstate { headerStr := format.RenderNoHeader(width, isSelected) - headerStr += fmt.Sprintf("\nLayer") + headerStr += "\nLayer" _, err := fmt.Fprintln(v.header, headerStr) if err != nil { return err |