[1030] in BarnOwl Developers

home help back first fref pref prev next nref lref last post

[D-O-H] r1015 - trunk/owl

daemon@ATHENA.MIT.EDU (nelhage@MIT.EDU)
Thu Oct 29 18:12:18 2009

Resent-From: nelhage@mit.edu
Resent-To: barnowl-dev-mtg@charon.mit.edu
X-Original-To: nelhage@nelhage.com
To: dirty-owl-hackers@MIT.EDU
From: nelhage@MIT.EDU
Reply-to: dirty-owl-hackers@MIT.EDU
Date: Fri,  4 Apr 2008 14:58:45 -0400 (EDT)

Author: nelhage
Date: 2008-04-04 14:58:45 -0400 (Fri, 04 Apr 2008)
New Revision: 1015

Modified:
   trunk/owl/keys.c
Log:
Bind the combinations the iPhone sends for arrow keys [probably other
terminals, too]


Modified: trunk/owl/keys.c
===================================================================
--- trunk/owl/keys.c	2008-04-02 17:26:28 UTC (rev 1014)
+++ trunk/owl/keys.c	2008-04-04 18:58:45 UTC (rev 1015)
@@ -229,11 +229,15 @@
   BIND_CMD("?",   "start-command search -r ", "start a reverse search command");
 
   BIND_CMD("LEFT",   "recv:shiftleft", "");
+  BIND_CMD("M-[ D",  "recv:shiftleft", "");
   BIND_CMD("RIGHT",  "recv:shiftright","");
+  BIND_CMD("M-[ C",  "recv:shiftleft", "");
   BIND_CMD("DOWN",   "recv:next",      "");
   BIND_CMD("C-n",    "recv:next",      "");
+  BIND_CMD("M-[ B",  "recv:next",      "");
   BIND_CMD("M-C-n",  "recv:next --smart-filter", "move to next message matching the current one"); 
   BIND_CMD("UP",     "recv:prev",      "");
+  BIND_CMD("M-[ A",  "recv:prev",      "");
   BIND_CMD("n",      "recv:next-notdel", "");
   BIND_CMD("p",      "recv:prev-notdel", "");
   BIND_CMD("C-p",    "recv:prev",        "");


home help back first fref pref prev next nref lref last post