diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-29 04:55:00 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:16 -0300 |
| commit | 253a5c1e036d96eada910c47eb500ed0c8e37b5c (patch) | |
| tree | 88366de4f3e17029a61b94ddb37e80795a9849fb /src/ninep/pty.zig | |
| parent | cdf4cbbf1fdd121aabdbbea33f11d5ee44d7764e (diff) | |
| download | pardes-253a5c1e036d96eada910c47eb500ed0c8e37b5c.tar.gz pardes-253a5c1e036d96eada910c47eb500ed0c8e37b5c.zip | |
A pane has a tagexec: a word run as a click in its tag
The workspace had /tagexec and a column its exec, but a pane's own tag
could be clicked only by an event record. pane/<n>/tagexec runs each line
as a click in that pane's tag (never redirected to its event reader, as a
header's is not) and reads back what it touched. The README, fs.md and
the skill list it.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/ninep/pty.zig')
| -rw-r--r-- | src/ninep/pty.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ninep/pty.zig b/src/ninep/pty.zig index 76cef83b..6b2abd0a 100644 --- a/src/ninep/pty.zig +++ b/src/ninep/pty.zig @@ -453,7 +453,7 @@ test "a pane that is not a terminal has no pty/ at all" { var buf: [32]th.Dirent = undefined; const files = th.dirents(rdir(p, dir, 0).bytes, &buf); - try testing.expectEqual(@as(usize, 17), files.len); + try testing.expectEqual(@as(usize, 18), files.len); try testing.expect(th.nameAt(files, "pty") == null); try testing.expectEqual(E.NOENT, look_up(p, dir, "pty_ctl").errno()); @@ -474,7 +474,7 @@ test "a terminal pane's pty/ holds exactly ctl, status and data" { var buf: [32]th.Dirent = undefined; const files = th.dirents(rdir(p, dir, 0).bytes, &buf); - try testing.expectEqual(@as(usize, 18), files.len); + try testing.expectEqual(@as(usize, 19), files.len); try testing.expect(th.nameAt(files, "pty").?.dir); const inside = th.dirents(rdir(p, Node.of(serial, .pty), 0).bytes, &buf); |
