- Documentation
- Reference manual
- Packages
- SWI-Prolog binding to BSD libedit
- library(editline): BSD libedit based command line editing
- el_wrap/0
- el_wrap/1
- el_wrap/4
- el_wrap/5
- el_setup/1
- el_wrapped/1
- el_unwrap/1
- el_source/2
- el_bind/2
- el_addfn/4
- el_set/2
- el_get/2
- el_line/2
- el_cursor/2
- el_insertstr/2
- el_deletestr/2
- el_history/2
- el_history_events/2
- el_add_history/2
- el_read_history/2
- el_write_history/2
- el_version/1
- history/2
- line_editor_attributes/2
- library(editline): BSD libedit based command line editing
- SWI-Prolog binding to BSD libedit
[semidet]el_set(+Input:stream,
+Action)el_set() and el_wset(). Currently
provided values for
Action are:
- wordchars(+Text)
- Set the characters considered part of a word. This feature
depends on
el_wsey()EL_WORDCHARS, which is only provided in some recent versions oflibedit. - bracketed_paste(+Boolean)
- Enable or disable bracketed paste mode. When enabled, the terminal is
asked to bracket pasted text with
ESC[200~/ESC[201~before each prompt, which the default bindings route through bracketed_paste/3. Disabling sends the matchingESC[?2004lsequence immediately. enable_bracketed_paste/1 manages this based on the current editor; you normally do not need to set it directly. - prompt_marks(+Boolean)
- Enable or disable the OSC 133 prompt marks described with this module. They are enabled by default and are ignored by a terminal that does not know them; disable them for a terminal that prints them instead. Note that Epilog then has neither mark nor bracketed paste to tell it that a line is being edited if bracketed paste is disabled as well, and a click no longer moves the caret.
This predicate fails silently of Action is not implemented. Illegal input raises in an exception.