1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

some more UI logic

This commit is contained in:
Jesse Duffield
2020-03-29 18:15:21 +11:00
parent 647ab9bf0f
commit 47ff388549
2 changed files with 8 additions and 6 deletions

View File

@ -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)