From 85afd8c22237111f1f797b0d8cb669693857101a Mon Sep 17 00:00:00 2001 From: Julian Barathieu Date: Tue, 21 Jan 2020 11:15:16 +0100 Subject: [PATCH] scroll --- kaleid/kernel/io/scan.c | 5 +++++ kaleid/kernel/sh/shell.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/kaleid/kernel/io/scan.c b/kaleid/kernel/io/scan.c index d1ac08f..89d61a9 100644 --- a/kaleid/kernel/io/scan.c +++ b/kaleid/kernel/io/scan.c @@ -96,6 +96,11 @@ const uint RegularScanCodes[2 * 256] = ENTRY (0x35, '!', CAPSLOCK), ENTRY (0x39, ' ', NONE), + + ENTRY (0x48, KEY_DC1, INVISIBLE), // UP arrow + ENTRY (0x4B, KEY_DC3, INVISIBLE), // LEFT arrow + ENTRY (0x4D, KEY_DC4, INVISIBLE), // RIGHT arrow + ENTRY (0x50, KEY_DC2, INVISIBLE), // DOWN arrow }; const uint LeftShiftScanCodes[2 * 256] = diff --git a/kaleid/kernel/sh/shell.c b/kaleid/kernel/sh/shell.c index c9d16ce..a22685f 100644 --- a/kaleid/kernel/sh/shell.c +++ b/kaleid/kernel/sh/shell.c @@ -125,7 +125,6 @@ void ShStartShell(void) break; default: - IoSetScroll(1); IoScrollDown();