|
42 | 42 | "\x19": Keys.ControlY, # Control-Y (25)
|
43 | 43 | "\x1a": Keys.ControlZ, # Control-Z
|
44 | 44 | "\x1b": Keys.Escape, # Also Control-[
|
| 45 | + "\x9b": Keys.ShiftEscape, |
45 | 46 | "\x1c": Keys.ControlBackslash, # Both Control-\ (also Ctrl-| )
|
46 | 47 | "\x1d": Keys.ControlSquareClose, # Control-]
|
47 | 48 | "\x1e": Keys.ControlCircumflex, # Control-^
|
|
119 | 120 | "\x1b[1;5B": Keys.ControlDown, # Cursor Mode
|
120 | 121 | "\x1b[1;5C": Keys.ControlRight, # Cursor Mode
|
121 | 122 | "\x1b[1;5D": Keys.ControlLeft, # Cursor Mode
|
| 123 | + "\x1b[1;5H": Keys.ControlHome, |
| 124 | + "\x1b[1;5F": Keys.ControlEnd, |
122 | 125 | "\x1b[1;2A": Keys.ShiftUp,
|
123 | 126 | "\x1b[1;2B": Keys.ShiftDown,
|
124 | 127 | "\x1b[1;2C": Keys.ShiftRight,
|
125 | 128 | "\x1b[1;2D": Keys.ShiftLeft,
|
| 129 | + "\x1b[1;2H": Keys.ShiftHome, |
| 130 | + "\x1b[1;2F": Keys.ShiftEnd, |
126 | 131 | # Tmux sends following keystrokes when control+arrow is pressed, but for
|
127 | 132 | # Emacs ansi-term sends the same sequences for normal arrow keys. Consider
|
128 | 133 | # it a normal arrow press, because that's more important.
|
|
170 | 175 | "\x1b[6;3~": (Keys.Escape, Keys.PageDown),
|
171 | 176 | "\x1b[2;3~": (Keys.Escape, Keys.Insert),
|
172 | 177 | "\x1b[3;3~": (Keys.Escape, Keys.Delete),
|
| 178 | + # Control+Shift in mintty/wsltty |
| 179 | + "\x1b[1;6D": Keys.ShiftControlLeft, |
| 180 | + "\x1b[1;6C": Keys.ShiftControlRight, |
| 181 | + "\x1b[1;6B": Keys.ShiftControlUp, |
| 182 | + "\x1b[1;6A": Keys.ShiftControlDown, |
| 183 | + "\x1b[1;6H": Keys.ShiftControlHome, |
| 184 | + "\x1b[1;6F": Keys.ShiftControlEnd, |
173 | 185 | }
|
174 | 186 |
|
175 | 187 |
|
|
0 commit comments