1. pSub
  2. slmenu

Commits

Rafael García  committed c52f7f5

Fix Home/End for urxvt.

  • Participants
  • Parent commits 161eac3
  • Branches default

Comments (0)

Files changed (1)

File slmenu.c

View file
  • Ignore whitespace
 					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;