diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-03-29 18:15:21 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-03-29 18:26:24 +1100 |
commit | 47ff388549070394a5349cd483c7c90b2f87be0b (patch) | |
tree | 2f41e2857ecdfc55ac44567011d82a8f12f15e89 /pkg/gui/diffing.go | |
parent | 647ab9bf0f94423722deb561d452bbccc5ce3281 (diff) |
some more UI logic
Diffstat (limited to 'pkg/gui/diffing.go')
-rw-r--r-- | pkg/gui/diffing.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/gui/diffing.go b/pkg/gui/diffing.go index dc5fca1e8..633efa600 100644 --- a/pkg/gui/diffing.go +++ b/pkg/gui/diffing.go @@ -18,6 +18,8 @@ func (gui *Gui) exitDiffMode() error { } func (gui *Gui) renderDiff() error { + gui.getMainView().Title = "Diff" + gui.State.SplitMainPanel = false filterArg := "" if gui.inFilterMode() { filterArg = fmt.Sprintf(" -- %s", gui.State.FilterPath) |