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

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
This commit is contained in:
Jesse Duffield
2023-08-01 18:30:38 +10:00
parent 53f0c1eb4f
commit 1712ad08ae
3 changed files with 1 additions and 3 deletions

View File

@ -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