A.2 library(ansi_term): Print decorated text to ANSI consoles
AllApplicationManualNameSummaryHelp

  • 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
          • hyperlink/2
          • 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