[151356] trunk/dports/editors/nano/files/patch-src-winio.c.diff

mps at macports.org mps at macports.org
Sat Aug 13 06:22:40 PDT 2016


Revision: 151356
          https://trac.macports.org/changeset/151356
Author:   mps at macports.org
Date:     2016-08-13 06:22:40 -0700 (Sat, 13 Aug 2016)
Log Message:
-----------
nano: Add missing patch.

Added Paths:
-----------
    trunk/dports/editors/nano/files/patch-src-winio.c.diff

Added: trunk/dports/editors/nano/files/patch-src-winio.c.diff
===================================================================
--- trunk/dports/editors/nano/files/patch-src-winio.c.diff	                        (rev 0)
+++ trunk/dports/editors/nano/files/patch-src-winio.c.diff	2016-08-13 13:22:40 UTC (rev 151356)
@@ -0,0 +1,20 @@
+--- src/winio.c.orig	2016-08-10 04:22:23.000000000 -0500
++++ src/winio.c	2016-08-13 08:18:00.000000000 -0500
+@@ -506,7 +506,7 @@
+ 
+     /* When not running under X, check for the bare arrow keys whether
+      * the Ctrl key is being held together with them. */
+-    if (console && (retval == KEY_UP || retval == KEY_DOWN ||
++/*    if (console && (retval == KEY_UP || retval == KEY_DOWN ||
+ 			retval == KEY_LEFT || retval == KEY_RIGHT)) {
+ 	unsigned char modifiers = 6;
+ 
+@@ -520,7 +520,7 @@
+ 	    else
+ 		return sc_seq_or(do_next_word_void, 0);
+ 	}
+-    }
++    } */
+ 
+     switch (retval) {
+ #ifdef KEY_SLEFT
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160813/7f7e0de6/attachment.html>


More information about the macports-changes mailing list