Commits

Anonymous committed d89def9

add ^a and ^e

  • Participants
  • Parent commits a00c0e7

Comments (0)

Files changed (1)

 {
     int i;
 
-	for (i = (delta > 0) ? len - 1 : ind ; i >= ind && i < len; i -= (delta > 0) ? 1 : -1)
-	    buf[i + delta] = buf[i];
+    for (i = (delta > 0) ? len - 1 : ind ; i >= ind && i < len; i -= (delta > 0) ? 1 : -1)
+	buf[i + delta] = buf[i];
 }
 
 void run()
 			cur = MAX(0, cur - 1);
 			len = MAX(0, len - 1);
 			break;
+		    case CTRL('a') :
+			cur = 0;
+			break;
+		    case CTRL('e') :
+			cur = len;
+			break;
 		    case CTRL('u') :
 			start = cur = len = 0;
 			break;