[semidet]el_set(+Input:stream,
+Action)Interface to 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 of libedit.
- 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 matching
ESC[?2004l sequence 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.
- Introduced in 9.3.35 (👉f8aef1c) el_set/2 to set the word characters