summaryrefslogtreecommitdiffstats
path: root/pkg/gui/gui.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2023-05-13 20:43:26 +1000
committerJesse Duffield <jessedduffield@gmail.com>2023-05-16 21:01:38 +1000
commit114ad52ff61346bb4c4eaa64f157197ebfb998a5 (patch)
tree7e7d5ebb897c68a9332716b765eb8dd14c69a38f /pkg/gui/gui.go
parent9514284f8e9f669b32d09af81de57d2bd232fff1 (diff)
Rename CmdLog -> GuiLog
We want to log both actions and commands for the sake of integration tests
Diffstat (limited to 'pkg/gui/gui.go')
-rw-r--r--pkg/gui/gui.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go
index 6b42da4fc..b429bda27 100644
--- a/pkg/gui/gui.go
+++ b/pkg/gui/gui.go
@@ -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