Module readline_binding

Module readline_binding 

Source
Expand description

Implements a parser for readline binding syntax.

Structs§

KeySequence
Represents a key sequence.
KeySequenceReadlineBinding
Represents a key-sequence-to-readline-command binding.
KeySequenceShellCommandBinding
Represents a key-sequence-to-shell-command binding.
KeyStroke
Represents a single key stroke.

Enums§

KeySequenceItem
Represents an element of a key sequence.
ReadlineTarget
Represents a readline target.

Functions§

key_sequence_to_strokes
Converts a KeySequence to a vector of KeyStroke.
parse_key_sequence_readline_binding
Parses a binding specification that maps a key sequence to a readline target.
parse_key_sequence_shell_cmd_binding
Parses a binding specification that maps a key sequence to a shell command.