1 From a971e4f90726a54adadd65e6ac36cb3abc846eee Mon Sep 17 00:00:00 2001
2 From: "S. Gilles" <sgilles@math.umd.edu>
3 Date: Fri, 30 Nov 2018 10:44:54 +0000
4 Subject: [PATCH 1/5] disable arrow keys
7 fbpdf.c | 16 +++++++++++++++-
8 1 file changed, 15 insertions(+), 1 deletion(-)
10 diff --git a/fbpdf.c b/fbpdf.c
11 index 6caa08f..7c387e9 100644
14 @@ -115,9 +115,23 @@ static void jmpmark(int c, int offset)
15 static int readkey(void)
19 if (read(0, &b, 1) <= 0)
26 + if (read(0, &b, 1) <= 0)
32 + if (read(0, &b, 1) <= 0)
38 static int getcount(int def)