mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-14 04:24:52 +02:00
themes kitten: When using the Default theme as an auto switch theme include all the actual settings values
Fixes #8124
This commit is contained in:
@@ -525,7 +525,11 @@ func (self *handler) on_accepting_key_event(ev *loop.KeyEvent) error {
|
||||
|
||||
scheme := func(name string) error {
|
||||
ev.Handled = true
|
||||
self.themes_list.CurrentTheme().SaveInFile(utils.ConfigDir(), name)
|
||||
{
|
||||
theme := self.themes_list.CurrentTheme()
|
||||
theme.GenerateDefaultSettings()
|
||||
theme.SaveInFile(utils.ConfigDir(), name)
|
||||
}
|
||||
self.update_recent()
|
||||
self.lp.Quit(0)
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user