Add the Config view: edit and save the settings, applied without a restart

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-20 23:31:13 +02:00
co-authored by Claude Sonnet 5.5
parent 0ccd02b3c5
commit a4ec9ad71e
25 changed files with 1168 additions and 54 deletions
+7 -1
View File
@@ -46,5 +46,11 @@ func run() error {
fmt.Fprintln(os.Stderr, "warning:", w)
}
return ui.New(cfg).Run()
raw, err := config.LoadFile(*path)
if err != nil {
return err
}
app := ui.New(cfg)
app.SetConfigSource(*path, raw)
return app.Run()
}