rl_parse_and_bind#

Apply a single line of inputrc syntax ("\\C-x\\C-r": re-read-init-file, set editing-mode vi, …).

Synopsis#

$term->parse_and_bind('set editing-mode vi');
$term->parse_and_bind('"\\C-l": clear-screen');

This is the programmatic door into the same grammar that ~/.inputrc uses. Returns 0 on a successful parse.