Source

slmenu / slmenu.c

Diff from to
 					read(0, &c, 1);
 					switch(c) {
 						case '1': /* Home */
+						case '7':
 							read(0, &c, 1); /* Remove trailing '~' from stdin */
 							c=CONTROL('A');
 							goto switch_top;
 							c=CONTROL('D');
 							goto switch_top;
 						case '4': /* End */
+						case '8':
 							read(0, &c, 1); /* Remove trailing '~' from stdin */
 							c=CONTROL('E');
 							goto switch_top;