Skip to content

Commit

Permalink
Fix detail wrap option
Browse files Browse the repository at this point in the history
  • Loading branch information
markruler committed Dec 27, 2020
1 parent b310bdb commit d4a9c08
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions runtime/ui/view/details.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit d4a9c08

Please sign in to comment.