From 8c74f9a8f199ea0c2d20cc524358d224ea192005 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 1 Oct 2026 17:48:02 -0300 Subject: Get reads a pane's file again, refusing unsaved edits once as Del does, and Get file loads that file into the pane; in a directory pane it reads the directory again. Load is Restore, as Put is Save; Abort's refusal says it is acme's debugging word Co-Authored-By: Claude Opus 5.5 --- src/Dir.zig | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/Dir.zig') diff --git a/src/Dir.zig b/src/Dir.zig index 979cd51a..36895bda 100644 --- a/src/Dir.zig +++ b/src/Dir.zig @@ -408,10 +408,6 @@ test "a look at an entry is a look from the directory, .. goes up to the open pa try tmp.dir.writeFile(testing.io, .{ .sub_path = "sub/later.txt", .data = "" }); try testing.expect(p.executeBuiltinLine(sub, "Get")); try testing.expectEqualStrings("inner.txt later.txt\n", p.panes[sub].?.file.?.content); - // Get anywhere else is still the acme word pardes has not. - const failures = p.fs.failures; - try testing.expect(p.executeBuiltinLine(0, "Get")); - try testing.expect(p.fs.failures != failures); } test "an exec in a directory pane runs in its directory, and its +Errors goes there" { -- cgit v1.3