Skip to content

v1.2.2

Latest

Choose a tag to compare

@maxlandon maxlandon released this 01 Jun 08:40
· 4 commits to master since this release
v1.2.2
aa06d08

readline v1.2.2

Added

  • skip-csi-sequence command (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-sequence
    

    Completes the last outstanding command from #5. No public API change and no
    change to default behavior.

Full changelog: v1.2.1...v1.2.2