aboutsummaryrefslogtreecommitdiffstats
path: root/main/kbd/bkeymaps.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/kbd/bkeymaps.patch')
-rw-r--r--main/kbd/bkeymaps.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/main/kbd/bkeymaps.patch b/main/kbd/bkeymaps.patch
new file mode 100644
index 0000000000..cea626167f
--- /dev/null
+++ b/main/kbd/bkeymaps.patch
@@ -0,0 +1,14 @@
+diff --git a/src/loadkeys.c b/src/loadkeys.c
+index 8b8e7a1..b3f7fea 100644
+--- a/src/loadkeys.c
++++ b/src/loadkeys.c
+@@ -174,7 +174,8 @@ main(int argc, char *argv[])
+ }
+
+ /* get console */
+- fd = getfd(console);
++ if (!(options & OPT_B))
++ fd = getfd(console);
+
+ if (!(options & OPT_M) && !(options & OPT_B)) {
+ /* check whether the keyboard is in Unicode mode */