• 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

A.2 library(ansi_term): Print decorated text to ANSI consoles
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • The SWI-Prolog library
        • library(ansi_term): Print decorated text to ANSI consoles
          • ansi_format/3
          • console_color/2
          • message_line_element/2
          • ansi_hyperlink/2
          • ansi_hyperlink/3
          • ansi_get_color/2
    • Packages
Availability::- use_module(library(ansi_term)).(can be autoloaded)
Source[det]ansi_hyperlink(+Stream, +Location)
[det]ansi_hyperlink(+Stream, +URL, +Label)
Create a hyperlink for a terminal emulator. The file is fairly easy, but getting the line and column across is not as there seems to be no established standard. The current implementation emits, i.e., inserting a capital L before the line.
``file://AbsFileName[#LLine[:Column]]``
See also
https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda
ClioPatria (version V3.1.1-51-ga0b30a5)