summaryrefslogtreecommitdiffstats
path: root/pkg/gui/pty.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/pty.go')
-rw-r--r--pkg/gui/pty.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/pty.go b/pkg/gui/pty.go
index c59867469..b6c3069f2 100644
--- a/pkg/gui/pty.go
+++ b/pkg/gui/pty.go
@@ -41,7 +41,7 @@ func (gui *Gui) onResize() error {
// command.
func (gui *Gui) newPtyTask(view *gocui.View, cmd *exec.Cmd, prefix string) error {
width, _ := gui.Views.Main.Size()
- pager := gui.GitCommand.Config.GetPager(width)
+ pager := gui.Git.Config.GetPager(width)
if pager == "" {
// if we're not using a custom pager we don't need to use a pty