summaryrefslogtreecommitdiff
path: root/src/mouse.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/mouse.zig')
-rw-r--r--src/mouse.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mouse.zig b/src/mouse.zig
index 5f0a6c4b..ac72481a 100644
--- a/src/mouse.zig
+++ b/src/mouse.zig
@@ -788,7 +788,8 @@ fn dragRelease(p: *Pardes, button: Mouse.Button) void {
.move => |d| {
layout.movePane(p, d.id, d.cur_x, d.cur_y);
if (layout.findPane(p, d.id)) |f| p.setActiveColumn(f.col);
- // a file moved into the left column evicts a lone unused shell
+ // BootShell replace: a file moved into the left column closes a
+ // lone unused shell there
if (p.panes[d.id]) |mt| if (mt.file != null) {
if (layout.findPane(p, d.id)) |f| if (f.col == 0)
exec.evictLonePristineTty(p, 0, d.id);