diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-01 17:48:02 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 18:08:12 -0300 |
| commit | 8c74f9a8f199ea0c2d20cc524358d224ea192005 (patch) | |
| tree | d2a280eb296ad1dce02c9f8e3e8fad20a927edf8 /src/Dir.zig | |
| parent | afec162464d360cbbf475d3fb7457cda83ce918f (diff) | |
| download | pardes-8c74f9a8f199ea0c2d20cc524358d224ea192005.tar.gz pardes-8c74f9a8f199ea0c2d20cc524358d224ea192005.zip | |
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 <[email protected]>
Diffstat (limited to 'src/Dir.zig')
| -rw-r--r-- | src/Dir.zig | 4 |
1 files changed, 0 insertions, 4 deletions
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" { |
