From 771e377f6db9c3aed1ab85bc36a774f4176272cc Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Fri, 13 Nov 2026 10:09:48 -0300 Subject: debugger: decouple font zoom from window size and add restart --- gui/src/Sources.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui/src/Sources.zig') diff --git a/gui/src/Sources.zig b/gui/src/Sources.zig index 3bd4cbf..93e5b90 100644 --- a/gui/src/Sources.zig +++ b/gui/src/Sources.zig @@ -19,7 +19,7 @@ pub fn map(s: *Sources, gpa: std.mem.Allocator, io: std.Io, from: []const u8, to s.clear(gpa); } -fn clear(s: *Sources, gpa: std.mem.Allocator) void { +pub fn clear(s: *Sources, gpa: std.mem.Allocator) void { for (s.files.items) |file| { if (file.text) |t| t.deinit(); gpa.free(file.path); -- cgit v1.3