summaryrefslogtreecommitdiff
path: root/core/ninep/pty.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-23 02:23:34 -0300
committerGabriel Schneider <[email protected]>2026-11-23 02:23:34 -0300
commit1ebae0db0a185455b2a03f22f5106113c6407a2f (patch)
treedb0e473c2c060e6bf7d4f4d169ffff11178056c3 /core/ninep/pty.zig
parent5393ce743d7848d26e60fd7d4d27a4119272df9f (diff)
parentde0e85daa8ad0bf9618734e16568823aa2b61a54 (diff)
downloadpardes-1ebae0db0a185455b2a03f22f5106113c6407a2f.tar.gz
pardes-1ebae0db0a185455b2a03f22f5106113c6407a2f.zip
integration (a base for the next rounds, not yet the gathered line): the one decision on the tree to install: pardes-merge60 (`krovvoum`: the viewport, a client's way back at an Upgrade, the pair's round 12, the lanes on the glide; in its whole gate) and pardes-one-decision (`ltvyvwru` on `wllwukuk` on `trmpwtso`, on pardes-viewport: one count of an emulator's writes in the core (`Pardes.outside`), copied, digested and dumped, which `Replica.confirm` reads once a unit where four spread checks stood; the rollback copy walks every type unless it declares `outside_copy`: the Changes layer's heap was not walked and was freed twice); no conflict; core-test 919/1083 (164 skipped), shell-test 1125/1128 (2026-11-23)
Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core/ninep/pty.zig')
-rw-r--r--core/ninep/pty.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/ninep/pty.zig b/core/ninep/pty.zig
index 923dab88..43973491 100644
--- a/core/ninep/pty.zig
+++ b/core/ninep/pty.zig
@@ -422,7 +422,7 @@ pub fn shellExited(p: *Pardes, pane: *Pane, status: ?u8) void {
const code = status orelse return;
if (waitingRun(p, pane)) |slot| if (slot.phase == .sent) {
pane.fs.run = null;
- if (pane.terminal) |state| pardes.Term.endOutputHere(state);
+ if (pane.terminal) |state| pardes.Term.endOutputHere(&p.outside, state);
finish(p, slot, pane, code);
};
var buf: [4]u8 = undefined;
@@ -1015,10 +1015,10 @@ test "a run's answer says cut when its output's start is gone, and reads a bound
// A resize between its start and end reflows the pins with the text.
h = sh.send(p, node);
sh.put(p, c ++ "one\r\ntwo\r\n");
- pane.resizeGrid(p.live, 50, 20);
+ pane.resizeGrid(p, 50, 20);
sh.put(p, d ++ prompt);
try testing.expectEqualStrings("exit 0\none\ntwo\n", sh.answered(p, node, h, into));
- pane.resizeGrid(p.live, pane.cols, pane.rows);
+ pane.resizeGrid(p, pane.cols, pane.rows);
// A full-screen program leaves nothing on the primary screen, and a D
// with no status is not a success.