summaryrefslogtreecommitdiffstats
path: root/mbbsd/kaede.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/kaede.c')
-rw-r--r--mbbsd/kaede.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mbbsd/kaede.c b/mbbsd/kaede.c
index 321d52e8..c3a8f797 100644
--- a/mbbsd/kaede.c
+++ b/mbbsd/kaede.c
@@ -116,8 +116,7 @@ outslr(const char *left, int leftlen, const char *right, int rightlen)
void
out_lines(const char *str, int line)
{
- int y, x;
- getyx(&y, &x);
+ int y = vgety();
while (*str && line) {
if (*str == '\n')
{