mirror of git://git.sv.gnu.org/nano.git
input: recognize the raw Xterm escape sequences for Alt+Home and Alt+End
This makes those keystrokes work too when --raw is used. But more importantly: these raw sequences can be used in an ~/.Xresources file to override the odd behavior of urxvt for those keystrokes, making the previous commit redundant.
This commit is contained in:
parent
363a4378b7
commit
c446904c19
|
@ -630,6 +630,10 @@ int convert_CSI_sequence(const int *seq, size_t length, int *consumed)
|
|||
return ALT_RIGHT;
|
||||
case 'D': /* Esc [ 1 ; 3 D == Alt-Left on xterm. */
|
||||
return ALT_LEFT;
|
||||
case 'F': /* Esc [ 1 ; 3 F == Alt-End on xterm. */
|
||||
return ALT_END;
|
||||
case 'H': /* Esc [ 1 ; 3 H == Alt-Home on xterm. */
|
||||
return ALT_HOME;
|
||||
}
|
||||
break;
|
||||
case '4':
|
||||
|
|
Loading…
Reference in New Issue