diff --git a/README.md b/README.md index d18aa1a3..7f958a08 100644 --- a/README.md +++ b/README.md @@ -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 08472fa4..601cd78b 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