summaryrefslogtreecommitdiff
path: root/src/ninep/pty.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/ninep/pty.zig')
-rw-r--r--src/ninep/pty.zig5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/ninep/pty.zig b/src/ninep/pty.zig
index 49f52c82..eda6e9d0 100644
--- a/src/ninep/pty.zig
+++ b/src/ninep/pty.zig
@@ -84,11 +84,6 @@ pub fn readCtl(p: *Pardes, req: Req, pane: *Pane) Reply {
return tree.stagedReply(p, req);
}
-pub fn ctlLen(pane: *const Pane) u64 {
- var buf: [32]u8 = undefined;
- return (std.fmt.bufPrint(&buf, "winsize {d} {d}\n", .{ pane.cols, pane.rows }) catch unreachable).len;
-}
-
/// Three right-aligned fields: cols, rows and whether the host holds the tty.
pub const status_len: u64 = 36;