projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c21c310
)
less: fix for screen size detection
author
Denys Vlasenko
<vda.linux@googlemail.com>
Mon, 15 Aug 2011 23:53:12 +0000
(
01:53
+0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Mon, 15 Aug 2011 23:53:12 +0000
(
01:53
+0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
miscutils/less.c
patch
|
blob
|
history
diff --git
a/miscutils/less.c
b/miscutils/less.c
index 9543fb9f916c3f9e3997a07fac4223b0e08056e9..2c6a7932680e72be9495b3e929e08a1f557aad63 100644
(file)
--- 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)