Skip to content

Commit

Permalink
fix pager width
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed May 17, 2021
1 parent eb5fe49 commit 002b621
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ require (
github.com/mitchellh/go-homedir v1.1.0
github.com/muesli/termenv v0.8.1
github.com/rivo/uniseg v0.1.0
github.com/rsteube/carapace v0.5.10
github.com/rsteube/carapace v0.5.12
github.com/shurcooL/githubv4 v0.0.0-20200928013246-d292edc3691b
github.com/shurcooL/graphql v0.0.0-20181231061246-d48a9a75455f
github.com/spf13/cobra v1.1.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ github.com/rivo/uniseg v0.1.0 h1:+2KBaVoUmb9XzDsrx/Ct0W/EYOSFf/nWTauy++DprtY=
github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg=
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
github.com/rsteube/carapace v0.5.10 h1:C8k1g49JdAuL3u83CLG2kTWmmo8XfvcgG+Oaw/zfb9g=
github.com/rsteube/carapace v0.5.10/go.mod h1:PyIaGGutQyWKcjsoKN7E1tqu8ktOkVF5MYdAd1p4gwE=
github.com/rsteube/carapace v0.5.12 h1:htkAhY/YMBEGdR8VhKaf4tIMZHLNEMw+zUJobE+aWj4=
github.com/rsteube/carapace v0.5.12/go.mod h1:PyIaGGutQyWKcjsoKN7E1tqu8ktOkVF5MYdAd1p4gwE=
github.com/russross/blackfriday/v2 v2.0.1 h1:lPqVAte+HuHNfhJ/0LC98ESWRz8afy9tM/0RK8m9o+Q=
github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts=
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/config/set/set.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func NewCmdConfigSet(f *cmdutil.Factory, runF func(*SetOptions) error) *cobra.Co
case "prompt":
return carapace.ActionValues("enabled", "disabled")
case "pager":
return carapace.ActionValues("bat", "more", "most", "less")
return carapace.ActionValues("bat --style header,grid", "more", "most", "less")
default:
return carapace.ActionValues()
}
Expand Down

0 comments on commit 002b621

Please sign in to comment.