summaryrefslogtreecommitdiff
path: root/core/builtins.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/builtins.zig')
-rw-r--r--core/builtins.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/builtins.zig b/core/builtins.zig
index 894478fd..7ad70e7c 100644
--- a/core/builtins.zig
+++ b/core/builtins.zig
@@ -1017,11 +1017,11 @@ pub const Del = struct {
// acme's Del asks winclean first (exec.c del): unsaved text is warned
// about once, and the same Del again, nothing edited since, closes.
if (warnModifiedIn(c, .Del, .{ .pane = c.id })) return;
- // An attachment's rows go back to its owner: nothing to ask.
+ // A docked pane's rows go back to its owner: nothing to ask.
if (layout.ownerOf(c.p, c.id)) |owner| return c.p.removePane(c.id, owner) catch |err| c.p.reportError(.at(c.id), "close", err);
const at = layout.findPane(c.p, c.id);
const above = if (at) |f| layout.expandedNeighbor(c.p, f.col, f.idx, .above) else null;
- // An owner's attachments close with it: below is past them.
+ // An owner's docked panes close with it: below is past them.
const below = if (at) |f| layout.expandedNeighbor(c.p, f.col, layout.groupEnd(c.p, f.col, f.idx) - 1, .below) else null;
const to: ?usize = if (std.mem.eql(u8, side, "k"))
above orelse below