diff options
Diffstat (limited to 'core/ninep')
| -rw-r--r-- | core/ninep/pty.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/ninep/pty.zig b/core/ninep/pty.zig index ec752311..923dab88 100644 --- a/core/ninep/pty.zig +++ b/core/ninep/pty.zig @@ -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(50, 20); + pane.resizeGrid(p.live, 50, 20); sh.put(p, d ++ prompt); try testing.expectEqualStrings("exit 0\none\ntwo\n", sh.answered(p, node, h, into)); - pane.resizeGrid(pane.cols, pane.rows); + pane.resizeGrid(p.live, pane.cols, pane.rows); // A full-screen program leaves nothing on the primary screen, and a D // with no status is not a success. |
