1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-18 05:17:55 +02:00

naming change

This commit is contained in:
Jesse Duffield 2021-06-14 18:17:08 +10:00
parent 7588d5290b
commit ce7cbe58a0
3 changed files with 4 additions and 4 deletions

View File

@ -41,7 +41,7 @@ gui:
skipUnstageLineWarning: false
skipStashWarning: true
showFileTree: false # for rendering changes files in a tree format
showTotal: true
showListFooter: true # for seeing the '5 of 20' message in list panels
showRandomTip: true
showCommandLog: true
commandLogSize: 8

View File

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

View File

@ -496,7 +496,7 @@ func (gui *Gui) Run() error {
g.ASCII = runtime.GOOS == "windows" && runewidth.IsEastAsian()
g.ShowTotal = userConfig.Gui.ShowTotal
g.ShowListFooter = userConfig.Gui.ShowListFooter
if userConfig.Gui.MouseEvents {
g.Mouse = true