summaryrefslogtreecommitdiff
path: root/term
diff options
context:
space:
mode:
Diffstat (limited to 'term')
-rw-r--r--term/users.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/term/users.c b/term/users.c
index a4583654..d438980e 100644
--- a/term/users.c
+++ b/term/users.c
@@ -133,6 +133,8 @@ open_hook (struct trivfs_control *cntl,
bcopy (ttydefchars, termstate.c_cc, NCCS);
+ bzero (&window_size, sizeof window_size);
+
termflags |= NO_OWNER;
}
else if (termflags & EXCL_USE)