1 From 3fdbe2a505d6809e837564c0af57b1e25fb37372 Mon Sep 17 00:00:00 2001
2 From: "S. Gilles" <sgilles@math.umd.edu>
3 Date: Mon, 4 Feb 2019 09:40:41 -0500
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)