summaryrefslogtreecommitdiffstats
path: root/pkg/gui/diffing.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-06-13 11:01:26 +1000
committerJesse Duffield <jessedduffield@gmail.com>2022-08-06 13:49:11 +1000
commit524bf83a4a681408c3fb57818f6968cab632e0ae (patch)
tree8858b4ee8d4670dcdd1637fe5fedf00ff080c154 /pkg/gui/diffing.go
parent6dfef08efc5c7f262194c0af35fd777428f33a1a (diff)
refactor to only have one context per view
Diffstat (limited to 'pkg/gui/diffing.go')
-rw-r--r--pkg/gui/diffing.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/gui/diffing.go b/pkg/gui/diffing.go
index 7653550de..fd0d32a02 100644
--- a/pkg/gui/diffing.go
+++ b/pkg/gui/diffing.go
@@ -21,6 +21,7 @@ func (gui *Gui) renderDiff() error {
task := NewRunPtyTask(cmdObj.GetCmd())
return gui.refreshMainViews(refreshMainOpts{
+ pair: gui.normalMainContextPair(),
main: &viewUpdateOpts{
title: "Diff",
task: task,