diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-12-20 23:07:43 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-12-20 23:07:43 +1100 |
commit | dde70486a13e92c387c9a71b30a9cee5bec9f1a3 (patch) | |
tree | 83aa75b52054f086f3f58feb1b7645e5dc14449c /pkg/gui/gui.go | |
parent | 186b7197e48ef42cf409ae8dd4946432fedc40f2 (diff) |
apply user config changes in sandbox mode
Diffstat (limited to 'pkg/gui/gui.go')
-rw-r--r-- | pkg/gui/gui.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go index 1d14c9f50..4fb5cca95 100644 --- a/pkg/gui/gui.go +++ b/pkg/gui/gui.go @@ -32,6 +32,7 @@ import ( "github.com/jesseduffield/lazygit/pkg/gui/services/custom_commands" "github.com/jesseduffield/lazygit/pkg/gui/style" "github.com/jesseduffield/lazygit/pkg/gui/types" + "github.com/jesseduffield/lazygit/pkg/integration/components" integrationTypes "github.com/jesseduffield/lazygit/pkg/integration/types" "github.com/jesseduffield/lazygit/pkg/tasks" "github.com/jesseduffield/lazygit/pkg/theme" @@ -426,7 +427,7 @@ func (gui *Gui) initGocui(headless bool, test integrationTypes.IntegrationTest) playMode = gocui.RECORDING } else if Replaying() { playMode = gocui.REPLAYING - } else if test != nil { + } else if test != nil && os.Getenv(components.SANDBOX_ENV_VAR) != "true" { playMode = gocui.REPLAYING_NEW } |