diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-11 22:03:55 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-11 23:36:34 +1000 |
commit | 06a8eb115c100816e3ceccff875010a84416beee (patch) | |
tree | 89eeaf7844d71f312252ff89e538302e9d649084 /pkg/config | |
parent | e4f0a470e93e6522757cb8fc215a245de92a8e75 (diff) |
make command log size configurable
Diffstat (limited to 'pkg/config')
-rw-r--r-- | pkg/config/user_config.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/config/user_config.go b/pkg/config/user_config.go index c2790ce6d..7fd26a708 100644 --- a/pkg/config/user_config.go +++ b/pkg/config/user_config.go @@ -37,6 +37,7 @@ type GuiConfig struct { SkipNoStagedFilesWarning bool `yaml:"skipNoStagedFilesWarning"` ShowFileTree bool `yaml:"showFileTree"` ShowCommandLog bool `yaml:"showCommandLog"` + CommandLogSize int `yaml:"commandLogSize"` } type ThemeConfig struct { @@ -297,6 +298,9 @@ func GetDefaultConfig() *UserConfig { }, CommitLength: CommitLengthConfig{Show: true}, SkipNoStagedFilesWarning: false, + ShowCommandLog: true, + ShowFileTree: false, + CommandLogSize: 8, }, Git: GitConfig{ Paging: PagingConfig{ |