diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2013-11-20 13:25:33 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2013-11-20 13:25:33 +0100 |
commit | 4d4979c67c65dceb1ae557707312b83fde4bc8a8 (patch) | |
tree | 066e63e8d0942e67b3b4438ba1a1af6f23525ed7 /client/client.c | |
parent | 33be3ba713901befe2df651b869a406df8fc8ace (diff) |
Fixes some potential issues with invalid term size in clients.
Diffstat (limited to 'client/client.c')
-rw-r--r-- | client/client.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/client.c b/client/client.c index 61caf38b..a9d0096d 100644 --- a/client/client.c +++ b/client/client.c @@ -178,6 +178,10 @@ init_commands(void) } input_init(); + + term_lns = (term_lns > 0) ? term_lns : 25; + term_cls = (term_cls > 0) ? term_cls : 80; + init = 0; } |