Skip to content

Commit

Permalink
Set default value for WindowSize config to pass validation
Browse files Browse the repository at this point in the history
  • Loading branch information
karimkhaleel committed May 18, 2024
1 parent f1e4305 commit 4a437b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions pkg/config/user_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,7 @@ func GetDefaultConfig() *UserConfig {
CommandLogSize: 8,
SplitDiff: "auto",
SkipRewordInEditorWarning: false,
WindowSize: "normal",
Border: "rounded",
AnimateExplosion: true,
PortraitMode: "auto",
Expand Down
3 changes: 2 additions & 1 deletion schema/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,8 @@
"half",
"full"
],
"description": "Default size for focused window. Window size can be changed from within Lazygit with '+' and '_' (but this won't change the default).\nOne of: 'normal' (default) | 'half' | 'full'"
"description": "Default size for focused window. Window size can be changed from within Lazygit with '+' and '_' (but this won't change the default).\nOne of: 'normal' (default) | 'half' | 'full'",
"default": "normal"
},
"border": {
"type": "string",
Expand Down

0 comments on commit 4a437b3

Please sign in to comment.