Commits

Rafael García committed c52f7f5

Fix Home/End for urxvt.

Comments (0)

Files changed (1)

 					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;