diff options
Diffstat (limited to 'core/dump.zig')
| -rw-r--r-- | core/dump.zig | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/core/dump.zig b/core/dump.zig index 0cefa157..a2b22cef 100644 --- a/core/dump.zig +++ b/core/dump.zig @@ -381,9 +381,12 @@ pub fn check(gpa: std.mem.Allocator, bytes: []const u8, why: *[256]u8) !void { /// The core the dump `bytes` is, and nothing more: no shell started, no /// file watched, nothing asked of a host (`revive` does that). What another /// build's dump could not give is said in `notes` when given. `opts` are -/// this process's (its allocators, paths and name), not the dump's. +/// this process's (its allocators, paths and name), not the dump's. Its +/// chrome is the restored theme's: the colours are local, never dumped. pub fn load(gpa: std.mem.Allocator, opts: Options, bytes: []const u8, notes: ?*std.ArrayList(u8)) !*Pardes { - return loadKnowing(gpa, opts, bytes, notes, null); + const p = try loadKnowing(gpa, opts, bytes, notes, null); + colors.finishThemeInitialization(p); + return p; } /// `load`, with which panes' files were on disk when it was dumped. |
