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 skipUnstageLineWarning: false
skipStashWarning: true skipStashWarning: true
showFileTree: false # for rendering changes files in a tree format 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 showRandomTip: true
showCommandLog: true showCommandLog: true
commandLogSize: 8 commandLogSize: 8

View File

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

View File

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