diff options
Diffstat (limited to 'core/mouse.zig')
| -rw-r--r-- | core/mouse.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/mouse.zig b/core/mouse.zig index 91d2932c..7c9007a1 100644 --- a/core/mouse.zig +++ b/core/mouse.zig @@ -1250,10 +1250,10 @@ fn dragRelease(p: *Pardes, button: Mouse.Button) void { } } else { const clk = pane.sel[b]; - // A right-click on a ghost row (jj.zig) looks at its line - // in the revision it came from. + // A right-click on a ghost row (jj.zig) looks at the word + // there, as anywhere. if (s.button == config.look_button and clk.r0 >= pane.tag_rows and clk.r0 == clk.r1 and clk.c0 == clk.c1 and - pane.layers.lanes > 0 and @import("jj.zig").lookGhost(p, s.id, clk.r0 - pane.tag_rows)) + pane.layers.lanes > 0 and @import("jj.zig").lookGhost(p, s.id, clk.r0 - pane.tag_rows, clk.c0)) { pane.sel[b].state = .none; return; |
