ShowTotal flag

This commit is contained in:
Andrei Yangabishev
2021-06-10 11:26:29 +03:00
parent 9fdf92b226
commit 7588d5290b
4 changed files with 6 additions and 1 deletions

View File

@@ -35,6 +35,7 @@ type GuiConfig struct {
Theme ThemeConfig `yaml:"theme"`
CommitLength CommitLengthConfig `yaml:"commitLength"`
SkipNoStagedFilesWarning bool `yaml:"skipNoStagedFilesWarning"`
ShowTotal bool `yaml:"showTotal"`
ShowFileTree bool `yaml:"showFileTree"`
ShowRandomTip bool `yaml:"showRandomTip"`
ShowCommandLog bool `yaml:"showCommandLog"`
@@ -306,6 +307,7 @@ func GetDefaultConfig() *UserConfig {
},
CommitLength: CommitLengthConfig{Show: true},
SkipNoStagedFilesWarning: false,
ShowTotal: true,
ShowCommandLog: true,
ShowFileTree: false,
ShowRandomTip: true,