diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2023-08-01 18:30:38 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2023-08-01 22:10:59 +1000 |
commit | 1712ad08aecad5cb4cd6ebce02f3f2f65dcc32ba (patch) | |
tree | 3f2f167cb79b360eb6666f49c7954c59437828da /pkg/gui/gui.go | |
parent | 53f0c1eb4fea90abe47819b1802dd23719654b29 (diff) |
Start in fullscreen when passing a git arg
Often we just want to see the desired view in fullscreen so I'm making that the default
Diffstat (limited to 'pkg/gui/gui.go')
-rw-r--r-- | pkg/gui/gui.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go index f099db67e..f1e20da41 100644 --- a/pkg/gui/gui.go +++ b/pkg/gui/gui.go @@ -382,7 +382,7 @@ func initialWindowViewNameMap(contextTree *context.ContextTree) *utils.ThreadSaf func initialScreenMode(startArgs appTypes.StartArgs, config config.AppConfigurer) types.WindowMaximisation { if startArgs.FilterPath != "" || startArgs.GitArg != appTypes.GitArgNone { - return types.SCREEN_HALF + return types.SCREEN_FULL } else { defaultWindowSize := config.GetUserConfig().Gui.WindowSize |