summaryrefslogtreecommitdiff
path: root/src/ninep/tree.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/ninep/tree.zig')
-rw-r--r--src/ninep/tree.zig4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ninep/tree.zig b/src/ninep/tree.zig
index a8b86a96..4b52be51 100644
--- a/src/ninep/tree.zig
+++ b/src/ninep/tree.zig
@@ -998,7 +998,9 @@ fn linesFile(target: Target) bool {
return switch (target) {
.top => |f| f == .look or f == .exec or f == .ctl or f == .tagexec,
.col => |c| c.file == .ctl or c.file == .exec,
- .pane => |t| t.file == .look or t.file == .exec or t.file == .ctl or t.file == .tagexec,
+ // `name` too: one name, however its writes cut it, applied once
+ // its newline or its close comes.
+ .pane => |t| t.file == .look or t.file == .exec or t.file == .ctl or t.file == .tagexec or t.file == .name,
};
}