1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-11-29 22:48:24 +02:00

move window arrangement helper

This commit is contained in:
Jesse Duffield
2023-03-23 18:55:41 +11:00
parent db12853bbe
commit 4a33fede7b
7 changed files with 90 additions and 83 deletions

View File

@@ -3,6 +3,7 @@ package gui
import (
"github.com/jesseduffield/generics/slices"
"github.com/jesseduffield/gocui"
"github.com/jesseduffield/lazygit/pkg/gui/constants"
"github.com/jesseduffield/lazygit/pkg/theme"
)
@@ -92,7 +93,7 @@ func (gui *Gui) createAllViews() error {
gui.Views.SearchPrefix.BgColor = gocui.ColorDefault
gui.Views.SearchPrefix.FgColor = gocui.ColorGreen
gui.Views.SearchPrefix.Frame = false
gui.c.SetViewContent(gui.Views.SearchPrefix, SEARCH_PREFIX)
gui.c.SetViewContent(gui.Views.SearchPrefix, constants.SEARCH_PREFIX)
gui.Views.Stash.Title = gui.c.Tr.StashTitle