mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 04:15:48 +02:00
replaced 'screenMode' to 'windowSize' in config
This commit is contained in:
parent
f4ccb68464
commit
a11e91e651
3 changed files with 4 additions and 4 deletions
|
@ -311,9 +311,9 @@ func initialScreenMode(startArgs appTypes.StartArgs, config config.AppConfigurer
|
|||
if startArgs.FilterPath != "" || startArgs.GitArg != appTypes.GitArgNone {
|
||||
return SCREEN_HALF
|
||||
} else {
|
||||
defaultScreenMode := config.GetUserConfig().Gui.ScreenMode
|
||||
defaultWindowSize := config.GetUserConfig().Gui.WindowSize
|
||||
|
||||
switch defaultScreenMode {
|
||||
switch defaultWindowSize {
|
||||
case "half":
|
||||
return SCREEN_HALF
|
||||
case "full":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue