summaryrefslogtreecommitdiff
path: root/www/links1/files/patch-kbd.c
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-29 15:49:46 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-29 15:49:46 +0000
commit5fef74e277a1a8631418cc86635c091fcc79d099 (patch)
tree1f91b768812d879efc689dc94c0aa53e7c1ba2fa /www/links1/files/patch-kbd.c
parent- Add LICENSE (diff)
Rename www/ patch-xy patches to reflect the files they modify.
Notes
Notes: svn path=/head/; revision=363346
Diffstat (limited to 'www/links1/files/patch-kbd.c')
-rw-r--r--www/links1/files/patch-kbd.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/www/links1/files/patch-kbd.c b/www/links1/files/patch-kbd.c
new file mode 100644
index 000000000000..6f2f1d8d35d9
--- /dev/null
+++ b/www/links1/files/patch-kbd.c
@@ -0,0 +1,15 @@
+--- kbd.c.orig 2013-03-12 19:47:22.000000000 +0400
++++ kbd.c 2013-03-12 19:47:24.000000000 +0400
+@@ -582,10 +582,10 @@
+ case 'B': ev.x = KBD_DOWN; break;
+ case 'C': ev.x = KBD_RIGHT; break;
+ case 'D': ev.x = KBD_LEFT; break;
+- case 'F':
++ case 'F': ev.x = KBD_END; break;
+ case 'K':
+ case 'e': ev.x = KBD_END; break;
+- case 'H':
++ case 'H': ev.x = KBD_HOME; break;
+ case 0: ev.x = KBD_HOME; break;
+ case 'V':
+ case 'I': ev.x = KBD_PAGE_UP; break;