summaryrefslogtreecommitdiff
path: root/term/users.c
diff options
context:
space:
mode:
Diffstat (limited to 'term/users.c')
-rw-r--r--term/users.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/term/users.c b/term/users.c
index ee27c855..a4e110b4 100644
--- a/term/users.c
+++ b/term/users.c
@@ -219,6 +219,9 @@ open_hook (struct trivfs_control *cntl,
termstate = state;
termflags |= TTY_OPEN;
}
+
+ if (bottom->gwinsz)
+ (*bottom->gwinsz) (&window_size);
}
mutex_unlock (&global_lock);