summaryrefslogtreecommitdiffstats
path: root/pkg/gui/gui.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/gui.go')
-rw-r--r--pkg/gui/gui.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go
index ddcc30ea8..bcc3400e3 100644
--- a/pkg/gui/gui.go
+++ b/pkg/gui/gui.go
@@ -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":