summaryrefslogtreecommitdiff
path: root/Kernel/Keyboard.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-10-30 11:55:58 +0100
committerAndreas Kling <awesomekling@gmail.com>2018-10-30 11:55:58 +0100
commitbd2b5327d042f5bf04ae7089d8b36c113313f8f3 (patch)
tree3391a45770a760200fdca32cf0e6bffb9b8d9c0d /Kernel/Keyboard.cpp
parent29035ffde747c89c13fba1494b2dac8ed9e90fd6 (diff)
downloadserenity-bd2b5327d042f5bf04ae7089d8b36c113313f8f3.zip
Basic support the backspace key.
This doesn't mean we get any line editing just yet. But the keyboard device now recognizes the backspace key, and the console device knows what to do with the backspace characters.
Diffstat (limited to 'Kernel/Keyboard.cpp')
-rw-r--r--Kernel/Keyboard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Keyboard.cpp b/Kernel/Keyboard.cpp
index f23f5bbbd5..cd41f2723c 100644
--- a/Kernel/Keyboard.cpp
+++ b/Kernel/Keyboard.cpp
@@ -21,7 +21,7 @@
static char map[0x100] =
{
- 0, 0, '1', '2', '3', '4', '5', '6', '7', '8', '9', '0', '-', '=', 0, 0,
+ 0, 0, '1', '2', '3', '4', '5', '6', '7', '8', '9', '0', '-', '=', 0x08, 0,
'q', 'w', 'e', 'r', 't', 'y', 'u', 'i', 'o', 'p', '[', ']', 0, 0,
'a', 's', 'd', 'f', 'g', 'h', 'j', 'k', 'l', ';', '\'', '`', 0, '\\',
'z', 'x', 'c', 'v', 'b', 'n', 'm', ',', '.', '/',