From d4a9c0807956450e990405c136cdf868a2d160d7 Mon Sep 17 00:00:00 2001 From: cxsu <imcxsu@gmail.com> Date: Sun, 27 Dec 2020 21:55:27 +0900 Subject: [PATCH] Fix detail wrap option --- runtime/ui/view/details.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/runtime/ui/view/details.go b/runtime/ui/view/details.go index 5f21730..43ea329 100644 --- a/runtime/ui/view/details.go +++ b/runtime/ui/view/details.go @@ -2,13 +2,14 @@ package view import ( "fmt" + "strconv" + "strings" + "github.com/sirupsen/logrus" "github.com/wagoodman/dive/dive/filetree" "github.com/wagoodman/dive/dive/image" "github.com/wagoodman/dive/runtime/ui/format" "github.com/wagoodman/dive/runtime/ui/key" - "strconv" - "strings" "github.com/awesome-gocui/gocui" "github.com/dustin/go-humanize" @@ -55,7 +56,7 @@ func (v *Details) Setup(view *gocui.View, header *gocui.View) error { // set controller options v.view = view v.view.Editable = false - v.view.Wrap = true + v.view.Wrap = false v.view.Highlight = false v.view.Frame = false