diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-30 19:26:12 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:17 -0300 |
| commit | 939c369aee270067d9f030e2b234d93bae549988 (patch) | |
| tree | 6e3541479cbc228bdd1566f4805496c538ec2f3e /src/Output.zig | |
| parent | 109a558a0488f3269f1864985e9b3db5f58b9552 (diff) | |
| download | pardes-939c369aee270067d9f030e2b234d93bae549988.tar.gz pardes-939c369aee270067d9f030e2b234d93bae549988.zip | |
After a ThemeFile, the root ctl and DumpConfig say ThemeFile and its path, so what they report writes back
Both said Theme and the name inside the .zon, which no Theme knows, so
writing the report back to /ctl failed with "no theme". While a loaded
ThemeFile is the theme in effect they now say the word that loaded it.
A Dump carries the line too, so a Restore reloads the file.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/Output.zig')
| -rw-r--r-- | src/Output.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Output.zig b/src/Output.zig index 01797cbe..47fcc7e4 100644 --- a/src/Output.zig +++ b/src/Output.zig @@ -870,6 +870,7 @@ pub fn openConfig(p: *Pardes, id: usize) !void { .startup_config_path = p.opts.startup_config_path, .platform = @tagName(pardes.platform), .theme_name = p.theme().name, + .theme_file = pardes.colors.loadedThemeFile(p), .compiled_default_shell = config.defaultShell(), .hover_delay_frames = config.look_preview_delay_frames, .native_images = p.native_images, |
