diff options
Diffstat (limited to 'term/users.c')
-rw-r--r-- | term/users.c | 3 |
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); |