less: fix for screen size detection
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
c21c310e46
commit
4f54168ea2
@ -990,7 +990,8 @@ static int64_t less_getch(int pos)
|
|||||||
*/
|
*/
|
||||||
if (key >= 0 && key < ' ' && key != 0x0d && key != 8)
|
if (key >= 0 && key < ' ' && key != 0x0d && key != 8)
|
||||||
goto again;
|
goto again;
|
||||||
return key;
|
|
||||||
|
return key64;
|
||||||
}
|
}
|
||||||
|
|
||||||
static char* less_gets(int sz)
|
static char* less_gets(int sz)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user