summaryrefslogtreecommitdiff
path: root/core/Output.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/Output.zig')
-rw-r--r--core/Output.zig8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/Output.zig b/core/Output.zig
index 3ac9f521..ab84ae35 100644
--- a/core/Output.zig
+++ b/core/Output.zig
@@ -705,7 +705,7 @@ pub fn openThemes(p: *Pardes, id: usize) !void {
for (pardes.themes, 0..) |t, i| {
if (pardes.colors.groupAt(i)) |title|
try out.writer.print("{s}# {s}\n", .{ if (i == 0) "" else "\n", title });
- try out.writer.print(comptime config.Runtime.findAction(.theme).?.word ++ " {s}\n", .{t.name});
+ try out.writer.print(comptime config.Settings.findAction(.theme).?.word ++ " {s}\n", .{t.name});
}
const content = try out.toOwnedSlice();
try openStepped(p, id, .{ .cmd = .Themes }, content);
@@ -716,7 +716,7 @@ pub fn isWalkRow(file: *const File.State, row: usize, line: []const u8) bool {
if (usesLocationsConfig(state.from) or std.meta.eql(state.from, Origin{ .query = .callstack })) return isResultRow(file, row);
if (!std.meta.eql(state.from, Origin{ .cmd = .Themes })) return true;
// Section labels are for reading, not stops in the command walk.
- return std.mem.startsWith(u8, std.mem.trimStart(u8, line, " \t"), comptime config.Runtime.findAction(.theme).?.word ++ " ");
+ return std.mem.startsWith(u8, std.mem.trimStart(u8, line, " \t"), comptime config.Settings.findAction(.theme).?.word ++ " ");
}
pub fn openFonts(p: *Pardes, id: usize) !void {
@@ -733,7 +733,7 @@ fn fontsListed(gpa: std.mem.Allocator, arena: std.mem.Allocator) anyerror![]u8 {
var out: std.Io.Writer.Allocating = .init(gpa);
errdefer out.deinit();
for (fonts.list(arena, null)) |f|
- try out.writer.print(comptime config.Runtime.findAction(.font).?.word ++ " {s}\n", .{f.name});
+ try out.writer.print(comptime config.Settings.findAction(.font).?.word ++ " {s}\n", .{f.name});
return out.toOwnedSlice();
}
@@ -852,7 +852,7 @@ pub fn openConfig(p: *Pardes, id: usize) !void {
var located: std.Io.Writer.Allocating = .init(p.gpa);
defer located.deinit();
try p.locations_config.write(&located.writer);
- try config.Runtime.writeReport(&out.writer, .{
+ try config.Settings.writeReport(&out.writer, .{
.locations = located.written(),
.default_dump_dir = p.tape.authority(dumpDirectory, .{@as([]u8, &dir_buf)}),
.startup_config_path = p.startupPath(),