readline v1.2.2
Added
-
skip-csi-sequencecommand (GNU readline). Terminals encode special keys
(Home, End, Page-Up/Down, function keys, modified arrows) as CSI sequences —
ESC [followed by parameter bytes and a final byte. A key with no explicit
binding would otherwise have its trailing bytes (15~,Z,1;5D, …)
inserted into the line as stray characters. Bound to\e[, this command
drains the rest of such a sequence so unrecognized keys do nothing; longer,
explicitly bound sequences such as the arrow keys still take precedence.Left unbound by default (as in GNU readline). Enable it from your inputrc:
"\e[": skip-csi-sequenceCompletes the last outstanding command from #5. No public API change and no
change to default behavior.
Full changelog: v1.2.1...v1.2.2