diff options
Diffstat (limited to 'core/mouse.zig')
| -rw-r--r-- | core/mouse.zig | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/mouse.zig b/core/mouse.zig index 7c9007a1..2d731acf 100644 --- a/core/mouse.zig +++ b/core/mouse.zig @@ -1250,8 +1250,9 @@ 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 the word - // there, as anywhere. + // A right-click on a change's id in its description line + // (jj.zig) opens its patch there; anywhere else on the + // layer's lines, a Look as anywhere (below). 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, clk.c0)) { |
