summaryrefslogtreecommitdiff
path: root/src/exec.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/exec.zig')
-rw-r--r--src/exec.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exec.zig b/src/exec.zig
index 06752ffd..df578d08 100644
--- a/src/exec.zig
+++ b/src/exec.zig
@@ -216,8 +216,8 @@ pub fn operandAt(p: *Pardes, pane: *Pane, clicked: Pane.Sel, borrow: bool, for_l
if (source_col < word_from or word_from > line.len) return result;
const word = look.expandedWord(line[word_from..], source_col - word_from) orelse return result;
var b: look.ExpandedWord = .{ .lo = word.lo + word_from, .hi = word.hi + word_from };
- // A +History row's `Restore` is that row's: a click on it (an exec,
- // or a look) takes the label beside it, as the row reads.
+ // A +History line's `Restore` is that line's: a click on it (an
+ // exec, or a look) takes the label beside it, as the line reads.
if (look.isHistoryList(pane) and std.mem.eql(u8, line[b.lo..b.hi], "Restore")) {
const rest = std.mem.trimStart(u8, line[b.hi..], " ");
if (std.mem.startsWith(u8, rest, "pardes-")) b.hi = (line.len - rest.len) + (std.mem.indexOfAny(u8, rest, " \t") orelse rest.len);