1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-08-09 09:22:48 +03:00

make command log size configurable

This commit is contained in:
Jesse Duffield
2021-04-11 22:03:55 +10:00
parent e4f0a470e9
commit 06a8eb115c
5 changed files with 45 additions and 29 deletions

View File

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