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

Rename CmdLog -> GuiLog

We want to log both actions and commands for the sake of integration tests
This commit is contained in:
Jesse Duffield
2023-05-13 20:43:26 +10:00
parent 9514284f8e
commit 114ad52ff6
3 changed files with 6 additions and 5 deletions

View File

@ -93,8 +93,8 @@ type Gui struct {
Views types.Views
// Log of the commands that get run, to be displayed to the user.
CmdLog []string
// Log of the commands/actions logged in the Command Log panel.
GuiLog []string
// the extras window contains things like the command log
ShowExtrasWindow bool
@ -440,7 +440,7 @@ func NewGui(
showRecentRepos: showRecentRepos,
RepoPathStack: &utils.StringStack{},
RepoStateMap: map[Repo]*GuiRepoState{},
CmdLog: []string{},
GuiLog: []string{},
// originally we could only hide the command log permanently via the config
// but now we do it via state. So we need to still support the config for the