input: distinguish <Alt+Left> from <Alt+Right> on an rxvt terminal

Both would jump a word to the left -- now each jumps a word in the
proper direction.
master
Benno Schulenberg 2016-11-23 20:45:45 +01:00
parent 059c8efb44
commit 0333b87ad7
1 changed files with 2 additions and 2 deletions

View File

@ -401,10 +401,10 @@ int parse_kbinput(WINDOW *win)
retval = KEY_END; retval = KEY_END;
break; break;
case 'C': case 'C':
retval = controlright; retval = CONTROL_RIGHT;
break; break;
case 'D': case 'D':
retval = controlleft; retval = CONTROL_LEFT;
break; break;
case 'a': case 'a':
retval = shiftaltup; retval = shiftaltup;