|Did you know ...||Search Documentation:|
:- use_module(library(editline)).(can be autoloaded)
bind -a(see el_bind/2) and Goal is called of the associated key-binding is activated. Goal is called as
call(:Goal, +Input, +Char, -Continue)
where Input is the input stream providing access to the
editor, Char the activating character and Continue must be instantated
with one of the known continuation codes as defined by libedit:
addition, the following Continue code is provided.
Normally el_bind/2 is used to associate the defined command with a keyboard sequence.