From 3eb166e287ec5afbd54b03a86711610e1b5269b6 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 10 Nov 2026 05:48:20 -0300 Subject: panes: exec.noteRun and exec.commandDone become Pane methods (pane.noteRun, pane.commandDone) at the end of the Pane struct, beside the command_* fields they keep, since they act on one command pane; commandDone takes the pane its two callers in Core already hold, with its id for the close and the report, in place of looking it up again Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- src/look.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/look.zig') diff --git a/src/look.zig b/src/look.zig index d9a850d7..6ecebd41 100644 --- a/src/look.zig +++ b/src/look.zig @@ -1113,7 +1113,7 @@ fn lookUnresolved(p: *Pardes, id: usize, pane: *Pane, trimmed: []const u8, text: /// A commit hash (7 to 40 hex digits, a letter and a digit among them) /// looked at inside a git repository: `git show` it, paged into a +Pager, /// which stacks its hunks in a +Diff (ctl.fillPager); the command pane -/// goes when it succeeds (exec.commandDone). +/// goes when it succeeds (Pane.commandDone). // ponytail: a hex word that names no commit leaves git's error in a command pane, not a search; check the object first if that bites. fn lookCommit(p: *Pardes, id: usize, pane: *Pane, word: []const u8) bool { if (!isCommitHash(word)) return false; -- cgit v1.3