summaryrefslogtreecommitdiff
path: root/src/exec.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/exec.zig')
-rw-r--r--src/exec.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/exec.zig b/src/exec.zig
index 46b4f57b..b16c600c 100644
--- a/src/exec.zig
+++ b/src/exec.zig
@@ -399,6 +399,7 @@ pub fn execute(p: *Pardes, id: usize, txt: []const u8) ?usize {
defer p.exec_depth -= 1;
const dst = (if (takesCommandLine(p, id)) id else ttyForDir(p, Pardes.paneDir(pane))) orelse return null;
panes.Terminal.padOutputBelowEdits(p, dst);
+ panes.Terminal.noteCommand(p.panes[dst].?, cmd);
if (panes.Terminal.queuePendingCommand(p.panes[dst].?, cmd) catch |err| {
p.reportError(id, "queue command", err);
return dst;