summaryrefslogtreecommitdiff
path: root/src/ninep/cols.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/ninep/cols.zig')
-rw-r--r--src/ninep/cols.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ninep/cols.zig b/src/ninep/cols.zig
index 74d1f668..7eb08ba9 100644
--- a/src/ninep/cols.zig
+++ b/src/ninep/cols.zig
@@ -31,7 +31,7 @@ pub fn activeColumn(p: *const Pardes) ?usize {
/// keyboard), `empty` or `full`, and its panes' serials, top to bottom;
/// then `active <serial>`: the active column, where pane/new and a look
/// place a pane next (acme's activecol), not always the keyboard's.
-pub fn writeLayout(p: *Pardes, w: *std.Io.Writer) !void {
+pub fn writeLayout(p: *Pardes, w: *std.Io.Writer) std.Io.Writer.Error!void {
const v = p.view();
const active = activeColumn(p);
for (0..p.view().ncol) |c| {
@@ -414,7 +414,7 @@ test "Help and Find at /tagexec act in the session's directory, not the keyboard
for ([_][]const u8{ "Help\n", "Find needle\n" }) |line| {
try testing.expectEqual(tree.Status.ok, th.wr(p, tagexec, line).reply.status);
const made = p.panes[p.view().active].?.file.?.path;
- try testing.expectEqualStrings(session, std.fs.path.dirname(made).?);
+ try testing.expectEqualStrings(session, std.Io.Dir.path.dirname(made).?);
}
}