• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

1 library(editline): BSD libedit based command line editing
All Application Manual Name SummaryHelp

  • 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
Availability::- use_module(library(editline)).(can be autoloaded)
Source[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.

ClioPatria (version V3.1.1-59-g7b9a7a3)