summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcxsu <imcxsu@gmail.com>2020-12-27 21:55:27 +0900
committercxsu <imcxsu@gmail.com>2020-12-27 21:55:48 +0900
commitd4a9c0807956450e990405c136cdf868a2d160d7 (patch)
tree9d9e6d1ef13b039c42a0aa79f2a0d2016430cf69
parentb310bdb2d6ae34d86929e2b555b5df35356c399f (diff)
Fix detail wrap option
-rw-r--r--runtime/ui/view/details.go7
1 files 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