diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-04 23:51:59 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-06 19:34:32 +1000 |
commit | 4fe512ff3a299102c2bd78bc83b8644582127aae (patch) | |
tree | 5a34eacc1c137a8c98624ba29b757c0a717cf694 /pkg/gui/diffing.go | |
parent | 4197921465a6cb67d5fdd5b63de653493a5ebd41 (diff) |
test
type safe view access
Diffstat (limited to 'pkg/gui/diffing.go')
-rw-r--r-- | pkg/gui/diffing.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/diffing.go b/pkg/gui/diffing.go index bd29664fe..5ac83fe24 100644 --- a/pkg/gui/diffing.go +++ b/pkg/gui/diffing.go @@ -14,7 +14,7 @@ func (gui *Gui) renderDiff() error { cmd := gui.OSCommand.ExecutableFromString( fmt.Sprintf("git diff --submodule --no-ext-diff --color %s", gui.diffStr()), ) - task := gui.createRunPtyTask(cmd) + task := NewRunPtyTask(cmd) return gui.refreshMainViews(refreshMainOpts{ main: &viewUpdateOpts{ @@ -49,7 +49,7 @@ func (gui *Gui) currentDiffTerminals() []string { } return nil default: - context := gui.currentSideContext() + context := gui.currentSideListContext() if context == nil { return nil } |