From 38916af9a1b55c627c7fc0681583dd14a2aafd78 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Wed, 9 Oct 1996 02:49:46 +0000 Subject: (open_hook): Zero WINDOW_SIZE during initialization. --- term/users.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'term') 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) -- cgit v1.2.3