Commit fa7e9b11 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

input: recognize more escape sequences for <Shift+Home> and <Shift+End>

This fixes the second part of https://savannah.gnu.org/bugs/?52960.
No related merge requests found
Showing with 6 additions and 0 deletions
+6 -0
......@@ -978,6 +978,12 @@ int convert_sequence(const int *seq, size_t length, int *consumed)
case 'D': /* Esc [ 1 ; 2 D == Shift-Left on xterm. */
shift_held = TRUE;
return arrow_from_abcd(seq[4]);
#ifndef NANO_TINY
case 'F': /* Esc [ 1 ; 2 F == Shift-End on xterm. */
return SHIFT_END;
case 'H': /* Esc [ 1 ; 2 H == Shift-Home on xterm. */
return SHIFT_HOME;
#endif
}
break;
#ifndef NANO_TINY
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment