From 4f54168ea21216f1ca322d343a26ee3e568444d9 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 16 Aug 2011 01:53:12 +0200 Subject: [PATCH] less: fix for screen size detection Signed-off-by: Denys Vlasenko --- miscutils/less.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/miscutils/less.c b/miscutils/less.c index 9543fb9f9..2c6a79326 100644 --- a/miscutils/less.c +++ b/miscutils/less.c @@ -990,7 +990,8 @@ static int64_t less_getch(int pos) */ if (key >= 0 && key < ' ' && key != 0x0d && key != 8) goto again; - return key; + + return key64; } static char* less_gets(int sz) -- 2.25.1