summaryrefslogtreecommitdiffstats
path: root/pkg/gui/gui.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2023-08-01 18:30:38 +1000
committerJesse Duffield <jessedduffield@gmail.com>2023-08-01 22:10:59 +1000
commit1712ad08aecad5cb4cd6ebce02f3f2f65dcc32ba (patch)
tree3f2f167cb79b360eb6666f49c7954c59437828da /pkg/gui/gui.go
parent53f0c1eb4fea90abe47819b1802dd23719654b29 (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.go2
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