# HG changeset patch # User Matti Hamalainen # Date 1528069180 -10800 # Node ID b92b18500bf98b55e517f1a5e0d3057359038ecf # Parent bdee04d21282410537ec94e94a217ea3f50daf9b Oops. We've been trying to get number of terminal lines from environment variable "LINESS" .. fixed to "LINES". diff -r bdee04d21282 -r b92b18500bf9 th_util.c --- a/th_util.c Mon Jun 04 02:35:18 2018 +0300 +++ b/th_util.c Mon Jun 04 02:39:40 2018 +0300 @@ -74,7 +74,7 @@ int th_term_height() { - char *var = getenv("LINESS"); + char *var = getenv("LINES"); int res = (var != NULL) ? atoi(var) : 25; if (res < 1) res = 1; return res;