• 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

4.34 Terminal Control
All Application Manual Name SummaryHelp

  • 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_size(-Rows, -Columns)
Determine the size of the terminal. This predicate is provided for POSIX terminals, Windows console and the swipl-win Prolog consoles. Portable code should wrap this into catch/3 and use some default in case the console window size cannot be determined.
ClioPatria (version V3.1.1-59-g7b9a7a3)