4.34 Terminal Control
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • Built-in Predicates
        • Terminal Control
          • tty_get_capability/3
          • tty_goto/2
          • tty_put/2
          • tty_size/2
    • Packages
Availability:built-in
tty_get_capability(+Name, +Type, -Result)
Get the capability named Name from the termcap library. See termcap(5) for the capability names. Type specifies the type of the expected result, and is one of string, number or bool. String results are returned as an atom, number results as an integer, and bool results as the atom on or off. If an option cannot be found, this predicate fails silently. The results are only computed once. Successive queries on the same capability are fast.