mirror of
https://github.com/asciimoo/wuzz
synced 2024-11-10 13:10:29 +00:00
[fix] initialize statusline with default config - closes #86
This commit is contained in:
parent
68e9328590
commit
845626567d
1
wuzz.go
1
wuzz.go
@ -1276,6 +1276,7 @@ func (a *App) LoadConfig(configPath string) error {
|
|||||||
if _, err := os.Stat(configPath); os.IsNotExist(err) {
|
if _, err := os.Stat(configPath); os.IsNotExist(err) {
|
||||||
a.config = &config.DefaultConfig
|
a.config = &config.DefaultConfig
|
||||||
a.config.Keys = config.DefaultKeys
|
a.config.Keys = config.DefaultKeys
|
||||||
|
a.statusLine, _ = NewStatusLine(a.config.General.StatusLine)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user