diff options
Diffstat (limited to 'src/File.zig')
| -rw-r--r-- | src/File.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/File.zig b/src/File.zig index 4011301a..17399d8b 100644 --- a/src/File.zig +++ b/src/File.zig @@ -994,6 +994,9 @@ pub fn changed(p: *Pardes, id: u8, bytes: []const u8) void { return; }; f.disk_newer = null; + // Logged as the dirty case is, with what became of it. + var rec: [32]u8 = undefined; + pardes.ctlfs.events.notePath(p, "changed", std.fmt.bufPrint(&rec, "{d} reloaded", .{pane.serial}) catch ""); const new = p.gpa.dupe(u8, bytes) catch return; pushUndo(p, pane); setContent(p, f, new); |
